Top "Xslt-1.0" questions

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

Padding number with leading zeros in XSLT 1.0

We have a number in XML that can go up to 3 digits in a large XML file that has to …

xml xslt-1.0 string-formatting msxml6
How can I calculate the absolute value of a number in XSLT?

I have <xsl:value-of select="DifferenceInDays" /> DifferenceInDays has a value that can be a negative or a positive …

xslt xslt-1.0 xslt-2.0
Remove Elements and/or Attributes by Name per XSL Parameters

The following does the job of removing unwanted elements and attributes by name ("removeMe" in this example) from an XML …

xml xslt xslt-1.0 xslt-2.0
Passing a URL variable into xsl

Is it possible to pass a URL variable into xsl. EG. http:www.somedomain.com/index.aspx?myVar=test&…

xml xslt xpath xslt-1.0
Getting Value from XML and Store In Variable Using XSLT

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <Result> <resultDetails> <resultDetailsData> <itemProperties> &…

xml xslt xslt-1.0
Convert First character of each word to upper case

I have a String and I need to convert the first letter of each word to upper case and rest …

xml xslt xslt-1.0 title-case
can we use dynamic variable name in the select statement in xslt?

I wanted to use a dynamic variable name in the select statement in xslt. <xsl:stylesheet version="1.0" xmlns:xsl="…

xslt xslt-1.0
XSLT create node name from variable

When I have these two variables <xsl:variable name="a" select="'Total'" /> <xsl:variable name="b" select="…

variables xslt-1.0 node-set
XSLT 1.0 variant for distinct-values

I have an XSLT in which I create (from the input data) intermediary variables like the following (hard-coded example, but …

xslt xpath xslt-1.0
XML to Fixed width text file with xsl style sheet

I need help formatting this xml to a fixed width text file using a xsl style sheet. I know very …

xml xslt xslt-1.0 fixed-width