This sounds like a Schematron question rather than a Saxon question.

I'm afraid I don't know Schematron well enough to help you.

Michael Kay

On 28/11/2012 18:18, Paul M wrote:
I have a schematron file that I would like to do the following:
 <let name="myelem" value="<myelem>some node...
 In xsl I could do the following:
 <xsl:variable name="mynode">
 Then use it elsewhere:
 <xsl:copy-of select="$mynode" />
 From what I have read, I would need to override process-prolog to do this in schematron.
 I am using saxon and iso_svrl to compile schematron into xsl.
 How do I now "use" process-prolog…the actualy iso-schematron xsl or iso-saxon xsl?
This is the  way to assign a node to variable in schematron? Not quite seeing it.

Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.

saxon-help mailing list archived at