John G writes: >...I have a variable definition as follows: > <xsl:variable name="extTest"> > <myExt:doSomething>Text Here</myExt:doSomething> > </xsl:variable> >When the variable is declared in a template, the variable value is >exactly what I expected, $extTest = "Something Else"; >When the variable is defined in the global space, the value of extText >is a copy of the literal text $extTest =...
(Working from memory on this answer) I believe the content of a top-level xsl:variable should behave the same as the content of xsl:template, except for the context. See the section on global variables for details on what the context node and node list should be when a global variable is evaluated. Also check the extensibility material in the spec regarding extension "instructions" (which are content of a template or global xsl:variable) as opposed to extension top-level elements (which act like declarations to a processor that understands them. .................David Marston --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
