This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Upper ASCII chars


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">&#163;&#169;&#174;&#196;&#203;&#211;&#225;&#246;&#255;.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="&pound;&copy;&reg;&Auml;&Euml;&Oacute;&aacute;&ouml;&yuml;.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]