XSLT Question
This is an open discussion with 2 replies, filed under XSLT.
Search
Your second block does not have a xsl:with-param in it. How is it passing the parameter?
Instead of putting choose
inside call-templates
, how about putting separate call-template
calls inside the when
blocks?
Create an account or sign in to comment.
I ran into an annoying thing last night where I couldn't do what I was trying to do. Wondering if anybody knew of a better way?
Basically I needed to make a with-param "smarter", so it had a choose statement. But I wasn't passing a string with my with-param, I was passing the node itself.
This works:
But this doesn't:
Obviously value-of is to blame here, because it's creating a string, but I can't think of another way to do it?
Please help!!