Re: [xsl] OT: DTD - elements in any order?

Subject: Re: [xsl] OT: DTD - elements in any order?
From: Lawrence Mielniczuk <lwm@xxxxxxxxxxxxxxx>
Date: Wed, 18 Jul 2001 16:24:54 +0100 (GMT Daylight Time)
try:

<!ELEMENT Header (Image |  HeaderText | List | DataTable | Image)*>

> (I am a digester, so please reply to me off-list at
> n8_shaw@xxxxxxxxx and cc the list if you feel that
> others may learn as well =:>)
> 
> Sorry for the OT, but I am up against a deadline here
> and am trying to learn as I go...
> 
> I have an element declaration where I want children to
> be able to appear in any order. So, I am using a space
> (" ") in the DTD. However, XMLWriter (and therefore
> MSXML 3) does not validate it.
> 
> <!ELEMENT Header (Image* HeaderText? List* DataTable*
> Image*)>
> 
> I want the DTD to specify that the Header element can
> contain an Image, HeaderText, List and DataTable
> element in any order.
> 
> Is there anyway to allow this non-ordering or am I
> going to have to specify every single possibility in
> the DTD?
> 
> TIA,
> 
> Nathan
> 
> =====
> ----------------------------
> Nathan Shaw
> Web Applications Developer
> iaffect
> http://www.iaffectonline.com
> http://www.iaffectTV.com
> ----------------------------
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

-------------------------------------
Lawrence Mielniczuk
Room 314
Bodleian Library
Oxford OX1 3BG
Tel: (01865) 277 114
Mobile: 0794 101 5689
-------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread