Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / September 2007

Tip: Looking for answers? Try searching our database.

Output XML defnition change

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 20 Sep 2007 19:56 GMT
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
S.Y.M. Wong-A-Ton - 23 Sep 2007 03:46 GMT
I don't think you can change the schema definition of an XML file on-the-fly.
What you could do however is create your own XSD and base your form template
on that. This article might help: http://support.microsoft.com/kb/827006
---
S.Y.M. Wong-A-Ton

> is there a way to change the schema definition while generating xml file from
> the infopath form.
[quoted text clipped - 19 lines]
>
> Thanks
Dave - 24 Sep 2007 15:06 GMT
I did that but even when you select external schema file, it try's to put its
own microsoft reference rather than the one specified in the external schema.

Dave

> I don't think you can change the schema definition of an XML file on-the-fly.
> What you could do however is create your own XSD and base your form template
[quoted text clipped - 25 lines]
> >
> > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.