Top "Xslt" questions

XSLT is a transformation language for XML designed to transform structured documents into other formats (such as XML, HTML, and plain text, or, in XSLT 3, JSON).

use xsl to output plain text

I needed to use XSL to generate simple plain text output from XML. Since I didn't find any good, concise …

xml xslt foreach plaintext line-breaks
How to read attribute of a parent node from a child node in XSLT

Just want to know how to read an attribute of a parent node from a child node in XSLT. code: &…

xslt xpath
Getting the parent node attributes in XSL

In my XML I have the following: <a> <b> <c something="false"> <d&…

xslt parent nodes
Using an HTML entity in XSLT (e.g. &nbsp;)

What is the best way to include an html entity in XSLT? <xsl:template match="/a/node"> <…

xslt
XSL: Avoid exporting namespace definitions to resulting XML documents

I'd like to take data from some XML files and transform them into a new XML document. However, I do …

xml xslt namespaces export msxsl
XSLT Stylesheet: Changing text to upper case

I am using an XSLT stylesheet to create an Excel document from an XML file. One of the values that …

xslt coding-style uppercase
How to comment in XSLT and not HTML

I'm writing XSL and I want to make comments throughout the code that will be stripped when it's processed, like …

xslt comments
How to remove namespaces from XML using XSLT

I have a 150 MB (it can go even more sometimes) XML file. I need to remove all the namespaces. It's …

xml xslt xml-namespaces
Does XSLT have a Split() function?

I have a string in a node and I'd like to split the string on '?' and return the …

.net xml vb.net xslt split
Are there any XSLT processing command line tools?

I want to change an XML file to a modified XML file via an XSLT file and XSLT processing tool. …

windows command-line xslt