OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: What is the purpose of ANY keyword ?

[ Lists Home | Date Index | Thread Index ]
  • From: Adam M Donahue <amd0978@acf3.nyu.edu>
  • To: Shekhar Kshirsagar <skshirsa@nortelnetworks.com>
  • 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@ic.ac.uk
> 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@ic.ac.uk the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
> 
> 


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS