[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: newbie question: how do i capitalize text?
Title: newbie question: how do i capitalize text?
Joni:
Becuase XML is case sensetive, a transformation
of case is semantically equivalent to transforming to a new string. As far
as I know, there is no XSL functionality to easily convert from one to the
other.
Becuase I can see you are wanting an HTML output,
I would presume the end user of your data is using a
browser.
Accordingly, I would suggest that your best (and
probably the most elegant solution) would be to employ a third party scripting
language like _javascript_. I believe the function is
String.toUpperCase()
Use the following wrapper for any _javascript_ within an XSL
stylesheet:
<xsl:comment>
<![CDATA[
your
code here
]]>
</xsl:comment>
Duane
Nickull
[Duane Nickull] -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Joni Fazo Sent: Thursday, January 20, 2000 5:37 PM To: 'XSL-List@xxxxxxxxxxxxxxxx' Subject: newbie question: how do i capitalize text?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|