You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Chakradhar <Ch...@cisco.com> on 2001/06/06 02:00:34 UTC
specifing elements in arbitary order in DTD
Hello,
Is there any way I can descibe Elements in DTD, where its child elements SHOULD BE present but can
arrive in any arbitary order.
I cant use ANY as that will allow some undesired elements to come through.
For eg.,
<!ELEMENT PARENT_ITEM (ITEM1, ITEM2, ITEM3)>
<!ELEMENT ITEM1 (#PCDATA)>
<!ELEMENT ITEM2 (#PCDATA)>
<!ELEMENT ITEM3 (#PCDATA)>
Or is this where XMLSchema has an upper hand.
And help is appreciated. Thanks.
-Chak
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org