?
Solved

How do you convert an Infopath form to XML web and vice versa

Posted on 2009-07-07
2
Medium Priority
?
1,119 Views
Last Modified: 2013-11-18
I have an Infopath created XML file that needs to work on a website and in Infopath.

Some users have infopath and some do not.  This wasn't a problem until other users who didn't have infopath needed to enter in data.  Easy solution was to get those users infopath but they will not be getting it.  So the solution was to use the XML generated file on a website.  The website would be the GUI.  

One of the problem is that I am just learning XML so it's a bit tough especially with microsoft tags in the headings.  I am not sure how to work with those.

Another problem I notice is that the Infopath generated tags are ALL unique.  (see code fragment below)

The original infopath form contains validations, text boxes, drop-down boxes, options, selections, and calendars pop-ups.

The users should be able to enter in data in either Infopath or via the web then send the XML generated file to another who would be using infopath or web to enter in additional data.

Does anyone know of any resources that can help with this?

Thanks in advance.
<!-- Code fragment -->
<?xml version="1.0" encoding="UTF-8"?>
<?mso-infoPathSolution solutionVersion="1.0.0.121" productVersion="12.0.0" PIVersion="1.0.0.0" href="myForm.xsn" name="urn:schemas-microsoft-com:office:infopath:my-form:-myXSD-2009-03-12T14-30-30" ?>
<?mso-application progid="InfoPath.Document" versionProgid="InfoPath.Document.2"?>
<my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ns1="http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-03-26T18:50:50" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-03-12T14:30:30" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xml:lang="en-us">
	<my:group1>
		<my:field4></my:field4>
		<my:field1></my:field1>
		<my:field119></my:field119>
		<my:field120></my:field120>
		<my:field122></my:field122>
	</my:group1>
	<my:group2>
		<my:field5></my:field5>
		<my:field218></my:field218>
		<my:field219></my:field219>
	</my:group2>
	<my:group3>
		<my:field17></my:field17>
		<my:field280></my:field280>
	</my:group3>
	<my:group4>
		<my:field9></my:field9>
		<my:field10></my:field10>
		<my:field12></my:field12>
		<my:field13></my:field13>
		<my:field14></my:field14>
		<my:field15></my:field15>
		<my:group4a>
			<my:field233>false</my:field233>
			<my:field234>false</my:field234>
			<my:field235>false</my:field235>
			<my:field236>false</my:field236>
			<my:group69>
				<my:field530></my:field530>
			</my:group69>
		</my:group4a>
		<my:field110 xsi:nil="true"></my:field110>
		<my:field111 xsi:nil="true"></my:field111>
	</my:group4>

Open in new window

0
Comment
Question by:taylort2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
BigRat earned 2000 total points
ID: 24802050
Your problem is that INfoPath is a licensed Microsoft product, so there are no open source implementations. To do an implementation from scratch is a big job, since you might have to implement all of the features (probably with XSLT and Javascript).

A start *might* be the fact that it is based on XForms from www.w3c.org (http://www.w3.org/MarkUp/Forms/) and you *might* find some open source for that. BUt I doubt wether the two systems are compatible.

It would be IMO cheaper to buy and install InfoPath.
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question