W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

RE: XSLT 2.0 suggestion

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Wed, 6 Feb 2002 00:49:22 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210602679C1C@daemsg02.software-ag.de>
To: "'Jay Burgess'" <jburgess@delanotech.com>, xsl-editors@w3.org
Thanks for sending this. It's now on the XSL WG issues list which means it
will come up for discussion at some stage.

Mike Kay

> -----Original Message-----
> From: Jay Burgess [mailto:jburgess@delanotech.com]
> Sent: 05 February 2002 17:27
> To: xsl-editors@w3.org
> Subject: XSLT 2.0 suggestion
> 
> 
> I posted the following yesterday to the XSL list at Mulberry 
> Technologies. 
> Jeni Tennison suggested in her reply that I follow-up to your email 
> address, in case you find the information useful.  Her comment was:
> 
> "There's been a recent suggestion on xsl-editors@w3.org that 
> a similar 
> functionality to saxon:character-representation be offered in 
> XSLT 2.0 - 
> you might want to post this example there to demonstrate 
> another use case."
> 
> Here's my original post, with a few more details added:
> 
> 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 first config file, which 
> is exactly 
> what I want:
> 
>      input1=".DTD"
> 
> The second file is an SHTML 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;&yu
> ml;.DTD">
> 
> What I want, however, is:
> 
>     <param name="input1" value=".DTD">
> 
> Is there a way to achieve this? I need this functionality because I'm 
> building server-side include pages from an XML configuration 
> file.  The 
> parameters for the <SERVLET> block (e.g. <param name="input1" 
> value=".DTD">) need to be able to contain both ASCII 
> and "upper 
> ASCII" characters.  value="" is completely different data 
> for the SSI 
> parser than value="&pound;".
> 
> Thanks.
> 
> Jay
> 
> -- Jay Burgess
>     Digital Archaeology Corporation
>     Delano Technology Analytics Division
>     mailto:jburgess@delanotech.com
>     (913) 438-9444 x154
> 
Received on Tuesday, 5 February 2002 18:49:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT