Top "Xslt-1.0" questions

Use this tag for questions specific to XSL Transformations version 1.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
XSLT string replace

I don't really know XSL but I need to fix this code, I have reduced it to make it simpler. …

xslt xpath replace xslt-1.0 xpath-1.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
How do you add an image?

Situation: I have a simple XML document that contains image information. I need to transform it into HTML. However, I …

xml xslt xslt-1.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
xslt 1.0 string replace function

I have a string "aa::bb::aa" and need to turn it in to "aa, bb, aa" I have tried …

xslt xslt-1.0