xsl-list
[Top] [All Lists]

Re: Schematron can have variables?

2003-06-08 03:39:04
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



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