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

  • From: Adam M Donahue <amd0978@a...>
  • To: Shekhar Kshirsagar <skshirsa@n...>
  • Date: Wed, 03 Feb 1999 15:40:31 -0500 (EST)

Not necessarily.  

<?xml version="1.0" ?>
<!DOCTYPE example [
<!ELEMENT example ANY>
<!ELEMENT foo (bar+)>
<!ELEMENT bar (#PCDATA)>
]>

<example>
	<foo></foo>
	<bar></bar>
</example>

Adam

On Wed, 3 Feb 1999, Shekhar Kshirsagar wrote:

> Hi,
> 
> What's the purpose of ANY keyword in an otherwise strictly formed 
> syntax of XML ?
> 
> Also is this right if I say that :
> 
> "If a top level element of a DTD has a content specifier -
> ANY, all the documents will be well-formed and VALID,
> as far as they contain the elements from that DTD in any order."
> 
> 
> Thanks & Regards,
> Shekhar Kshirsagar
> Nortel Networks.
> 
> 
> 
> 
> 
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
> To (un)subscribe, mailto:majordomo@i... the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@i... the following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@i...)
> 
> 


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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