Setting Variables in XSLT
- 0
- Add a Comment
That’s right kids, it is time for another tip with Yehuda Shiran. Today we are going to be looking at setting variables in XSLT. I know that this sounds really complex and scary at first, however once you go through the instructions laid out by Shiran, you will find that it is really not that hard to learn.
“XSLT supports variables. You can set a variable in one place and reuse it somewhere else. Use variables to make your code more flexible and well-organized. You define a variable with the xsl:param tag. You position this tag in the front section of your script, before the HEAD statament.”
