Re: [xslt] Problems with xsl:text



On Thu, Oct 11, 2001 at 03:09:59PM +0200, Gero Meißner wrote:
> Hello,
> 
> I try to use the XML::LibXML and XML::LibXSLT perl packages and always get
> in trouble with the 'disable-output-escaping' attribute of the 'xsl:text'
> element. The stylesheet-file contains the following section:
> 
> <xsl:template match="image">
>   <a>
>     <xsl:attribute name="href">
>       <xsl:text disable-output-escaping="yes">
>         javascript:zoom('./zoom.html?file=abc.jpg&amp;width=300&amp;400');
>       </xsl:text>
>     </xsl:attribute>
>           :
>   </a>
> </xsl:template>
> 
> Using LibXML and LibXSLT the newly created document still contains the
> entity reference '&amp;' instead of the character '&'.
> There are no problems when using xalan or saxon on MS Windows. Is there any
> possiblity to get the right character when using LibXML and LibXSLT?

  Try with xsltproc directly. I doubt the bug will show up. If yes,
make sure you have an updated version. If no, well the problem is in
the Perl wrapper.
  Instructions to report bugs are at:
    http://xmlsoft.org/XSLT/#Reporting

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]