[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: can't get variable content after call-template
Thank you!
This isn't using a variable at all, did you mean $pmode here rather than @pmode? Yes, for sure. This was a typo. <xsl:template name="logfile"> <xsl;param name="pmode"/> and <xsl:call-template name="logfile"> <xsl:with-param name="pmode" select="$pmode"/>
Variables in XSLT have lexical scope, they are only usable in the following sibling elements (and their descendants) of the xsl:variable element on which they are defined.
Regards, Georg
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|