Linked Questions

0 votes
1 answer
6k views

convert lower case to Upper case in XSLT 2.0 [duplicate]

<xsl:for-each select="./Indexes/Index"> <xsl:value-of select="Caption" />: <xsl:value-of select="Description" /> </xsl:for-each> convert lower case to Upper case ...
user avatar
100 votes
6 answers
151k views

case-insensitive matching in XPath?

For example, for the XML below <CATALOG> <CD title="Empire Burlesque"/> <CD title="empire burlesque"/> <CD title="EMPIRE BURLESQUE"/> ...
Ethan's user avatar
  • 18.8k
25 votes
5 answers
62k views

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 I am pulling in I want to display as upper case. How is this possible?
user avatar
11 votes
4 answers
7k views

lower case the first character of a string using only xslt 1.0

I have seen patterns for translating a string into lower (or upper case) using the translate function for folks stuck using xslt 1.0. Is there a elegant way of just making the first letter of a ...
Atlas1j's user avatar
  • 2,512
5 votes
2 answers
17k views

Lowercase conversion in XSL

I have an XML like <emps> <emp id='3432'> <fname>Jack</fname> <lname>Dawson</lname> <emp> <emp id='1122'> <fname>Jack</fname> <lname&...
Bala's user avatar
  • 51
3 votes
2 answers
21k views

Make string lowercase XSLT

How do I convert a string to lowercase in XSLT? I'm really a noob at it, and I know you use the lower-case function, but what's an example of it in use? Do I use <fn:lowercase>StRiNg</fn> ...
Leticia Meyer's user avatar
1 vote
2 answers
13k views

XPATH: Check if a xml node contains specific characters or strings

Imagine this XML file (sorry for sick example!!) <DOC> <Test> <Name>1 vs 100 Pre pre History</Name> <Type>Dinasors</Type> </Test> <Test> &...
Dumbo's user avatar
  • 13.9k
0 votes
2 answers
15k views

Compare two strings for equality ignoring case in XSLT 1.0

I have to check if a value matches a certain string, and the input may be in any case. <xsl:if test="$adminStatus='Down'"> do something </xsl:if>
flash's user avatar
  • 1,241
2 votes
1 answer
11k views

How to use lower-case() function in XSLT 2.0?

In a small XML conversion project I am working on, I am able to use the XSLT 1.0 translate() function to convert to lowercase or uppercase as suggested in posts like this one, so that something like ...
ewall's user avatar
  • 27.7k
1 vote
2 answers
6k views

Can I exclude a specific file name with Wix Heat using transforms?

Is it possible to exclude a specific file name with Wix using transforms? I can exclude files that contain a certain string, but this excludes any file name matching the string. For example I can ...
neilwheeler's user avatar
3 votes
4 answers
5k views

C#/.Net -Fast way to Parse XML / XML -> Json

I'm new to XML, since now I've only worked with Json:( I have a XML file which looks like this: <AdapterCards> <cards type="MCS"> <card> <id>id1</id&...
darkdante's user avatar
  • 707
0 votes
2 answers
2k views

How to export Lotus Notes documents (both parent and response forms) to XML

Anybody here knows how to export the parent and response forms to xml file? I got this code wherein it gets all the objects in the parent form and exports it to xml but it doesn't access the response ...
Ragome's user avatar
  • 55
1 vote
1 answer
1k views

Lowercase all tag names and attributes inside RSS XML using XSLT

How can I please turn the below (capital letter tags i.e. <RSS> and capital letter attributes i.e. TYPE="audio/mpeg") <RSS xmlns:atom="http://www.w3.org/2005/Atom" xmlns:itunes="http://www....
mrmrw's user avatar
  • 120
-2 votes
2 answers
1k views

XML to HTML table using XSL

I have an XML file that I export from my DB which is structured as below, ' <output> <row> <Month>October</Month> <Location>kansas</Location> ...
Ravindranath Barathy's user avatar
1 vote
2 answers
350 views

Umbraco NiceUrl ToLower

I'm trying to change the URL to lower in my href tag, here is my code: <a href="{$url}{umbraco.library:NiceUrl(@id)}/{$AppendedID}/"> I've tried using Exslt.ExsltStrings:lowercase(node-set) ...
Funky's user avatar
  • 13.3k

15 30 50 per page