|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ATTLIST question
James Gray asked - > > Thanks for the reply -- would the corresponding > XML look like this: > > <shirt>M</shirt> > > ?, Nope, you can't restrict element content with a dtd - attributes are what you want <shirt size='M'/> Or you could use empty elements, but it's clumsier for this application: <shirt><M/></shirt> (You could specify empty elements like this in a dtd, too) Cheers, Tom Passin
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








