[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Fitzgerald <mike@w...>
  • To: SNedunuri@p...
  • Date: Thu, 15 Feb 2001 10:02:31 -0800

It is a little confusing, but the official XML DTD spec IS the XML spec:

http://www.w3.org/tr/REC-xml.html

Sorry, <!ELEMENT Tag (Foo & Bar)> is legal in SGML but not XML. Using & in
this SGML context means both Foo and Bar must be present in Tag, but they
can be in any order.

-Mike

-----Original Message-----
From: SNedunuri@p... [mailto:SNedunuri@p...]
Sent: Thursday, February 15, 2001 9:17 AM
To: xml-dev@l...
Subject: RE: HREFs in XSL



Does anyone know where the official specification of a DTD can be found?
I've done a search at w3.org and at oasis and have turned up nothing. In
particular, I read somewhere that rule for !Element permits the & character
between element names to indicate that the elements may occur in any order
eg. <!Element Tag (Foo, Bar)> requires Bar to follow Foo
OTOH <!Element Tag (Foo & Bar)> would permit Foo and Bar to be in any order

But none of the unofficial guides to DTDs seem to mention this operator.

thanks

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@l...


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member