How to use a counter in a XSL Loop (xsl:for-each)
To use a counter in a XSL For-Each block, you can use the position() function, the Counter starts at value…
All the Code Snippets and Samples you need
To use a counter in a XSL For-Each block, you can use the position() function, the Counter starts at value…
Since XSL 1.0 dows not have inbuild Trimming functions for Strings, you need to define your own templates. You can…
To get element with the highest ID using XSL you can use the following snippet. XML: XSL:
To create a newline using XSL Text you can use the following snippet. Sample XSL & #xd; creates a Carriage…
To check if String is Null or Empty in XSL you can use the following snippet. Sample XSL
To do String Replace in XSL 1.0 you can use the following snippet. The Template can be invoked as: