xsl-list
[Top] [All Lists]

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

2003-01-13 04:15:00
David Carlisle wrote:

Perhaps something like a content-model() function will be available as extension or in XSLT2?

unfortunatly it is, but uses schema syntax rather than dtd, you import a
schem which has a named complex type (essentially a named content model)
then you can match against elements with that type.


... which makes it even more complex than the XPath1.0 solution.


But I'm proposing a content-model() function whose only reason for existence is simplification and terseness.

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