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 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