?
Solved

xml: namespaces and defining the root element

Posted on 2013-10-30
1
Medium Priority
?
264 Views
Last Modified: 2013-11-06
I have a schema where I import another namespace. That seems to work fine but XMLSpy always prompts me for the root node when I generate the XML.

Is there something I can do to force the root node?

Thanks!
0
Comment
Question by:BillTr
[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
1 Comment
 
LVL 60

Accepted Solution

by:
Geert Bormans earned 800 total points
ID: 39615637
If you are generating an XML (or starting to autor one) XML SPy can't possibly know which element you consider the root. Each globaly declared element can be the root. You could have named groups or named types instead of global element declarations to overcome that, but that requires changing the schema. If you don't want to change the schema, the options remain. Maybe you can set an edit scenario in XML spy for a particular XML schema... in Oxygen you can
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

801 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