Re: [xsl] Need help using variable in select statement

Subject: Re: [xsl] Need help using variable in select statement
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 26 Sep 2005 17:28:28 +0100
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
________________________________________________________________________

Current Thread