xsl-list
[Top] [All Lists]

Re: Need help using variable in select statement

2005-09-26 09:28:28

me> there is no way to do that in standard XSLT. 

perhaps I should have added "in one pass".

The standard way of doing this _without_ using an evaluate extension is
to use the input document to generate a stylesheet that uses the
specified XPath, and then execute the generated stylesheet.

That basically is how schematron works: the schematron schema is an XML
document that contains XPath's specifying assertions about nodes.
You first run a stylesheet that generates a stylesheet using those
XPaths then validate documents by running this generated stylesheet.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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