[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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
[xsl] Upper ASCII chars
Subject: [xsl] Upper ASCII chars From: Jay Burgess <jburgess@xxxxxxxxxxxxxx> Date: Mon, 04 Feb 2002 17:17:57 -0600 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Mulitple error messagees., Jeni Tennison | Thread | Re: [xsl] Upper ASCII chars, Jeni Tennison |
Re: [xsl] copyright symbol in XSLT, Markus Spath | Date | [xsl] fo:table problem (using Apach, Sami, Abdul (Netpros |
Month |
Keywords