[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: OT: DTD - elements in any order?

Subject: Re: OT: DTD - elements in any order?
From: Lawrence Mielniczuk <lwm@xxxxxxxxxxxxxxx>
Date: Wed, 18 Jul 2001 16:24:54 +0100 (GMT Daylight Time)
dtd element any order
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.