Top "Xslt-2.0" questions

Use this tag for questions specific to XSL Transformations version 2.0 and no other version.

Check if a string is null or empty in XSLT

How can I check if a value is null or empty with XSL? For example, if categoryName is empty? I'm …

xslt null xslt-1.0 xslt-2.0
To compare two elements(string type) in XSLT?

i am new to XSLT ,can any one please suggest to me how to compare two elements coming from xml …

xslt xslt-1.0 xslt-2.0
xsl: how to split strings?

I want to split an address on semicolons (;) into rows separated by <br />: e.g. if address=123 Elm …

xml xslt xslt-1.0 xslt-2.0
XSL xsl:template match="/"

I am just learning XML and how to use XSL files. In an XSL file I found the following term: …

xml xslt xslt-1.0 xslt-2.0
How to remove elements from xml using xslt with stylesheet and xsltproc?

I have a lot of XML files which have something of the form: <Element fruit="apple" animal="cat" /> …

xml xslt xslt-1.0 xslt-2.0
XSLT: How to change an attribute value during <xsl:copy>?

I have an XML document, and I want to change the values for one of the attributes. First I copied …

xslt xslt-1.0 xslt-2.0
How to create a boolean value?

I am totally new to XSLT and can't work out where I am going wrong with the following code. <…

xml xslt boolean xslt-1.0 xslt-2.0
How to update the variable value in xslt?

I have declared a variable in my .xsl file. Now I want to update the older value with new value. …

xml xslt xslt-2.0
Can one give me the example for "mode" of template in xsl?

In <xsl:template name="temp_name" mode="mode"> What is the meaning of mode? I searched many many …

xslt xslt-1.0 xslt-2.0
Multiply 2 numbers and then sum

I am having a difficult time trying to do something that seems like it should be really easy to do. …

xslt xslt-1.0 xslt-2.0