Schema definition in XML

D

Dave

is there a way to change the schema definition while generating xml file from
the infopath form.

for eg:
when we use menu : File - extract from file (to get the xml output for the
designed form) .

The output we get (first 2-3 lines) is
<customer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xd="http://schemas.microsoft.com/office/infopath/2003">

we have a requirement to get the xml output like this.
- <customer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://unity.com/dtd/inscust.xsd">

we need to specify our own location.
xsi:noNamespaceSchemaLocation="http://unity.com/dtd/inscust.xsd"> instead of
microsoft schema.

Is there any settings in infopath where we can change to get the required
schema location output.?

Thanks
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

The namespace prefixes that you are trying to get into the xml must remain
synchronized with those in the form definition file (.xsf).
 
D

Dave

Does it mean, that we cannot change the namespacelocation built by infopath,
even though we designed the form using schema definition at the begining.
 

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