RE: [xslt] Problems with xsl:text
- From: "Robert Koberg" <rob koberg com>
- To: <xslt gnome org>
- Subject: RE: [xslt] Problems with xsl:text
- Date: Thu, 11 Oct 2001 08:27:45 -0700
Hi,
Why not do this?
<a
href="javascript:zoom('./zoom.html?file=abc.jpg&width=300&400');">bo
o</a>
perhaps you need to send some vars - use attribute value templates:
<a
href="javascript:zoom('./zoom.html?file={$image}&width={$width}&{$he
ight}');">boo</a>
best,
-Rob
> -----Original Message-----
> From: xslt-admin@gnome.org [mailto:xslt-admin@gnome.org]On Behalf Of
> Gero Meißner
> Sent: Thursday, October 11, 2001 6:10 AM
> To: xslt@gnome.org
> Subject: [xslt] Problems with xsl:text
>
>
> 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&width=300&400');
> </xsl:text>
> </xsl:attribute>
> :
> </a>
> </xsl:template>
>
> Using LibXML and LibXSLT the newly created document still contains the
> entity reference '&' 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?
>
> Thank you very much!
>
> Gero Meissner
>
> Heinze GmbH
> Geschaeftsstelle Ost
> Paradiesstraße 206B
> 12526 Berlin
>
> Tel: +49 (030) 67 97 09 24
> Fax: +49 (030) 67 97 09 34
> email: gero.meissner@heinze.de
>
>
> _______________________________________________
> xslt mailing list
> xslt@gnome.org
> http://mail.gnome.org/mailman/listinfo/xslt
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]