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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Element content

[ Lists Home | Date Index | Thread Index ]

On Mon, 2003-01-20 at 09:06, David LeBlanc wrote:
> A question has arisen about element content. I'm reasonably sure I've read
> that it's illegal for an element to contain itself either directly or
> indirectly. 

No, that's perfectly legal...

The W3C specifications themselves give numerous examples (span and div
XHTML elements, W3C XML Schema's xs:element, XSLT xsl:if...) of such
recursive contents.

Eric

-- 
Did you know it? Python has now a Relax NG (partial) implementation.
                                          http://advogato.org/proj/xvif/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------





 

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

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