[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: &
David Carlisle ha scritto:
The problem is that I don't produce the xml but I receive it from an external source.I have a xml document with: For example I can use this one:and it's ok; <xsl:template name="replaceUrl"> <xsl:param name="url" /> <xsl:choose> <xsl:when test="contains($url, '&amp;')"> <xsl:value-of select="concat(substring-before($url, '&amp;'), '&')" disable-output-escaping="yes" /> <xsl:call-template name="replacee"> <xsl:with-param name="url"><xsl:value-of select="substring-after($url, '&amp;')" disable-output-escaping="yes"/></xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$url" disable-output-escaping="yes" /> </xsl:otherwise> </xsl:choose> </xsl:template> For Abel: my javascript function (ss) on onmouseover shows the url in the status bar of browser and I have to use it. So I'd like to find a method to solve my problem in XSL 1.0. Best regards David
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|