RE: Parameter passing through call to "document"
You have a template that matches "/projects". In this template you do an
Actually, because that call is within a xsl:for-each that selects on "record," I think I'm actually getting /projects/record/record_id.
In fact, if you'll have a look at the debugging output I put in just before the xsl:apply-templates call, you'll see that I'm printing out the value-of "record" in the current context. I do, in fact, get the value of each "record_id_" tag here. And, if I change the code to select nodes from the current context as the argument to xsl:apply-templates, the value gets passed in correctly in the parameter.
It's only when I change the select to use the document call that the parameter fails to pass correctly.
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