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

Subject: Re: [xsl] RE: [xsl] [XPath] matching elements which satisfy a specific content model
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Thu, 16 Jan 2003 16:25:55 +0100
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



Current Thread