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

Subject: Re: [xsl] [XPath] matching elements which satisfy a specific content model
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Mon, 13 Jan 2003 12:15:00 +0100
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



Current Thread