[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] [XPath] matching elements which satisfy a specific cont ent model
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Mon, 13 Jan 2003 12:18:54 +0100

David.Pawson@xxxxxxxxxxx wrote:

But yes, it is of interest; I need to match variablelist containing *nothing but* title?,varlistentry+. There can not be any other elements, and if there is a title, it must come first.

I think that's called validation :-)


Both the XPath1.0 solution and the proposed simplification do the same, and can be used for the same tasks. They both can for example be used for test="", template match="", in transformations, or in validation.

The functionality and applicability stays the same, only the length and complexity is different.


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