Re: How to define a "anywhere" node in my XSD
- From: "Jean-François Michaud" <cometaj@xxxxxxxxxxx>
- Date: 31 Aug 2006 08:12:36 -0700
david.deridder@xxxxxx wrote:
Hi,
I would like to specify in my XSD that the "Documentation" element can
be added everywhere in the XML document. A bit like the
xs:documentation node.
How can i declare this in my XSD?
An example
<a>
<b>
<Documentation/>
</b>
</a>
is valid
but also
<a>
<Documentation/>
<b>
<Documentation/>
</b>
<Documentation/>
</a>
Thanks for the help
David
What you are asking for is equivalent to an inclusion in SGML. You
might want to look the SGML way if its an option to you. The price you
pay for more flexibility is a bigger complexity headache :).
Regards
Jeff
.
- References:
- How to define a "anywhere" node in my XSD
- From: david . deridder
- How to define a "anywhere" node in my XSD
- Prev by Date: Re: How to define a "anywhere" node in my XSD
- Next by Date: Tree xml logic
- Previous by thread: Re: How to define a "anywhere" node in my XSD
- Next by thread: Tree xml logic
- Index(es):
Relevant Pages
|