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 / December 2005

Tip: Looking for answers? Try searching our database.

adding datasource to existing schema

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charlie Genge - 21 Dec 2005 11:01 GMT
Hi,
I'm trying to add some fields (nodes) from an XML file to my existing form
so that when completing the form, I can merge in some values from an existing
xml file.
When I try to add the fields to my existing schema, from InfoPath (without
any code) I get a message which says "The XML Schema or XML document cannot
be used because InfoPath does not support adding complete XML Schemas without
a target namespace, or XML documents without an explicit namespace.
To use this file in InfoPath, add a target or default namespace"
What do I need to do to the XML file in order for it to be added?
Thanks,
Charlie
Larry Spencer - 21 Dec 2005 14:57 GMT
>From the error message, I infer that you're adding a "complete XML
Schema" to your form.  Does the schema you're adding specify a target
namespace?

If not, check out http://www.w3.org/TR/xmlschema-0/#NS to learn how to
add a namespace.  It contains a thorough but readable discussion of
namespaces, both in schemas and documents, along with examples.
 
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.