XSLTGeneral questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am used to declare and use variables in XSLT all the time but for any reason this simple thing is not working and I am not managing to see what is wrong with it:
That creates a variable $foo and assigns it the string 'foobah'. What you has previously was missing the single quotes, so was looking for an element called <foobah> and taking its textual value.
__________________
/- Sam Judson : Wrox Technical Editor -/