XML schema imported into Add Field or Group under Data Source

S

Suz

I want to add a small xml document that would add to the current data source
through the Design Interface --> DataSource ---> Add field or Group --> Type
would equal XML schema or XML Document.

For example, if this is a current XML schema:
<my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-06-09T22-10-11" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003">
<my:group1>
<my:group2>
<my:group3>
<my:group4>
<my:field1/>
<my:field2/>
<my:field3/>
<my:field4/>
<my:field5/>
</my:group4>
</my:group3>
</my:group2>
</my:group1>
<my:group5>
<my:group6>
<my:field6/>
</my:group6>
</my:group5>
<xd:SchemaInfo LocalName="myFields"
NamespaceURI="http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-06-09T22-10-11">
<xd:Namespaces>
<xd:Namespace LocalName="myFields"
NamespaceURI="http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-06-09T22-10-11"/>
<xd:Namespace LocalName="myFields"
NamespaceURI="http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-06-09T22-10-11"/>
</xd:Namespaces>
</xd:SchemaInfo>
</my:myFields>


And I just want to add:
<my:group6>
<my:field6/>
</my:group6>

To another data source which already has my:group5 in place, how would the
XML document look.

For now I would be using the defaults such as 'my' as the namespace.
I have been really stuck on this for a while.
thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top