W3C home > Mailing lists > Public > www-html@w3.org > December 2003

grandchild restrictions (was: RE: Structure vs Semantics)

From: Jewett, Jim J <jim.jewett@eds.com>
Date: Thu, 11 Dec 2003 16:14:01 -0500
Message-ID: <B8CDFB11BB44D411B8E600508BDF076C1A745BAC@usahm010.exmi01.exch.eds.com>
To: "'ernestcline@mindspring.com'" <ernestcline@mindspring.com>, Chris Mannall <chris.mannall@hecubagames.com>, www-html@w3.org
Cc: lachlan.hunt@iinet.net.au

Ernest Cline:

> The problem is that with the structure of XML, it is 
> impossible to allow <a><b/></a> and <b><c/></b> 
> while banning  <a><b><c/></b></a>.

> This is a limitation of DTDs, not a problem with the 
> proposed content model.

Is there an escape using something akin to the 
XSLT http://www.w3.org/TR/xslt20/ tunnel parameters?

I don't see one yet; it looks like it only allows to grandchildren,
rather than forbidding -- but someone else may see more than
I do.

-jJ
Received on Thursday, 11 December 2003 16:14:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:59 GMT