xsl-list
[Top] [All Lists]

Re: RE: [xsl] [XPath] matching elements which satisfy a specific content model

2003-01-16 08:25:55
Dave


The result is vastly simpler, but it does assume that you want to define your content models in a schema and not in a stylesheet - a reasonable assumption, in my view.

That's a view.


I'm not sure what your opinion is here, but don't forget that many XPath1.0 patterns in XSLT1.0 match/test patterns *are* describing content models. This means that it wouldn't make sense to say "All description of content models must happen outside of the XSLT document, since schemas are the place to do that and not XSLTs." since the latter is not really true IMHO. Most of the matching done is describing context, and some of the matching is describing content context/ content models.

It's an overlapping range of appropriate places rather than a strict separation IMHO.

Tobi

--

Vim users               donate.
http://iccf-holland.org/donate.html

Web developers           check.
http://www.pinkjuice.com/check/


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>