Top "Xslt-1.0" questions

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

Remove characters using xsl

I need to remove the following characters from a string value using xsl 1.0 *, /, \, #, %, !, @, $, (, ), & I have come up with the …

xml xslt xslt-1.0
Matching elements with namespace prefix in XSLT

This is my xml input. <package version="2.0" unique-identifier="uuid_id" xmlns="http://www.idpf.org/2007/opf"> <metadata …

xslt xslt-1.0
Select node based on child node value in XSLT

I would like to select only those node where child node value matches a certain value. Here is my orig …

xml xslt xpath xslt-1.0
how to apply space between data in xslt

xml <block4> <tag> <name>50K</name> <value> 0501/045788775099 Praveen // name will …

xslt xslt-1.0
How to get maximum value under same node in xslt

I have a xml like below : <Report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.…

xml xslt xslt-1.0 xslt-2.0
Get all ancestors of current node

I want to get all ancestors of current node: XML: <root> <item title="a"> <item …

xml xslt xpath xslt-1.0
How to convert XML to HTML using XSLT in Java

I want to convert XML file into HTML file with help of XSLT. But I am getting an error i.…

java xml xslt xslt-1.0
xsl trying to ouput '<' as opposed to '&lt;'

Update: The issue still persists although it is not quite the same as before. Below is an example of what …

xslt xslt-1.0 invalid-characters
Interpreting newlines with xsl:text?

I have an XSL stylesheet with content in an xsl:text node like this: <xsl:text> foo bar …

xml xslt ant xslt-1.0 whitespace
How do I remove spaces in all attribute values using xslt?

I want to remove spaces from all attributes in my xmls using xslt. I used strip-space, but that removes the …

xslt attributes xslt-1.0 removing-whitespace