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.

Received on Thursday, 11 December 2003 16:14:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:06 UTC