[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
but its still possible (don't say I'm cheating):
<xsl:output method="text"/>
<xsl:script implements-prefix ="string" language="java" src="java.lang.String"/>
<xsl:param name="input" select="'abcdäöußáblabla'"/>
</xsl:stylesheet>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
RE: [xsl] Capitalizing content of a variable
Subject: RE: [xsl] Capitalizing content of a variable From: Johannes Döbler <jd@xxxxxxxxxxxxxx> Date: Thu, 09 Aug 2001 16:34:14 +0200 |
> Are there any languages where capitalizing can change the number of > characters?
Yes, the most common example is the German ß. To handle that you need a more sophisticated approach.
Mike Kay Software AG
but its still possible (don't say I'm cheating):
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:string="java.lang.String" version="1.1">
<xsl:output method="text"/>
<xsl:script implements-prefix ="string" language="java" src="java.lang.String"/>
<xsl:param name="input" select="'abcdäöußáblabla'"/>
<xsl:template match="/"> <xsl:value-of select="string:toUpperCase(string:new($input))"/> </xsl:template>
</xsl:stylesheet>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Capitalizing content of a, Michael Kay | Thread | Re: [xsl] Capitalizing content of a, Michael Beddow |
[xsl] Passing parameter from a form, Hewko, Doug | Date | [xsl] xalan-j2 D7: StreamSource can, Robert Koberg |
Month |