Solved

xml: namespaces and defining the root element

Posted on 2013-10-30
1
258 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
1 Comment
 
LVL 60

Accepted Solution

by:
Geert Bormans earned 200 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
XSL Grouping 7 36
PHP Curl Multi-exec 13 60
XML namaspace 2 36
Viewing XML as a table on a Mac 3 63
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now