grandchild restrictions (was: RE: Structure vs Semantics)

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 UTC