OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
xsl transformation to uppercase
This page's ID:
22057
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
select="translate(".",$lcletters,$ucletters)" Careful! The XML parser will read that as select="translate(" followed by garbage that it doesn't understand. 1. If you want to use quotes in an XML attribute, you must use thoe " escape sequence: select="translate(".",$lcletters,$ucletters)" 2. You don't want quotes here. If you use quotes, then you'll be taking the string ".", converting it to uppercase (which does nothing because it's just a period), and inserting it into the document. Rather, I think you just want to use the . itself: select="translate(.,$lcletters,$ucletters)" I may be wrong; perhaps you need to use the current() function to refer to the current node: select="translate(current(),$lcletters,$ucletters)" It's been a while since I wrote any XSLT myself. [url=http://www.slimeland.com/] [img]http://www.slimeland.com/misc/ozonemetalslimesig.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »