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
Solved

xml: namespaces and defining the root element

Posted on 2013-10-30
1
260 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

789 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