ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
RE: [xml-dev] Can i specify more than one root element in the specification?
by James Fuller other posts by this author
Sep 23 2002 8:21AM messages near this date
[xml-dev] Can i specify more than one root element in the specification? | Re: [xml-dev] Can i specify more than one root element in the specification?
Sorry Vinod,

xml defines that any xml document should have one root node, xml schema will
undoubtably follow this rule. so no you cant do this and it is not allowed.

The next question would be why you have this requirement, you should be able
to rejig your xml ..

gl, jim fuller
  -----Original Message-----
  From: Vinod Kharade [mailto:vkharade@[...].com]
  Sent: 23 September 2002 07:48
  To: xml-dev@[...].org
  Subject: [xml-dev] Can i specify more than one root element in the
specification?


  Hi,



   I'm new to this group and XML indeed.



  IP help me out for my query (although it will be too simple 4 some of u)

   Can I have a schema where it should allow me to specify more than one
root element?



  Basically I want to have any of this root element in my xml document
instance.



  Thanks in advance.



  Regards,

  Vinod.
Attachments:
unknown1

Thread:
Vinod Kharade
James Fuller
m batsis
Aaron Skonnard
Thomas B. Passin

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved