Solved

xml: namespaces and defining the root element

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

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.
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 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