This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Upper ASCII chars
- From: Jay Burgess <jburgess at delanotech dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 04 Feb 2002 17:17:57 -0600
- Subject: [xsl] Upper ASCII chars
- Reply-to: xsl-list at lists dot mulberrytech dot com
I'm having trouble getting upper ASCII chars to output the way I need them
to. (I've pared down my examples below to just the relevant info.) The
XML data looks like the following :
<param
name="input1">£©®ÄËÓáöÿ.DTD</param>
I output two versions of this data to two different files. The first is a
simple config file of URLs, created with the output method set to TEXT and
the following XSL:
<xsl:value-of select="@name"/><xsl:text>="</xsl:text><xsl:value-of
select="string($VALUE)"/><xsl:text>"</xsl:text>
This results in the following in my config file, which is exactly what I want:
input1="£©®ÄËÓáöÿ.DTD"
The second file is an HTML page, created with the output method set to
"HTML" and the following XSL:
<xsl:element name="param">
<xsl:attribute name="name"><xsl:value-of
select="@name"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="."/></xsl:attribute>
</xsl:element>
I get the following in the file:
<param name="input1"
value="£©®ÄËÓáöÿ.DTD">
What I want, though, is:
<param name="input1" value="£©®ÄËÓáöÿ.DTD">
Is there a way to achieve this?
Jay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list