Re: [xsl] Schematron can have variables?

Subject: Re: [xsl] Schematron can have variables?
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Sun, 08 Jun 2003 12:39:04 +0200
Leena Kulkarni wrote:
Can anyone tell me if the asserts in the Schematron
can contain variables? e.g I want to check if the
value of a tag is 123 but do not want to hard code 123
in the path.

If you are using XSLT implemenatation, this can be done as a simplest schematron customization - just override process-prolog template and add global xsl:variable or xsl:param. See "Customising Schematron" http://www.ldodds.com/papers/schematron_xsltuk.html#c35e2592b7b3


--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread