|
|
 |
perl-xml
Re: XSLT question (passing parameters)
by Stephane Roux other posts by this author
Nov 19 2005 6:13AM messages near this date
view in the new Beta List Site
Re: XSLT question (passing parameters)
|
Re: XSLT question (passing parameters)
& XSLT In <437F1A38.4060009@[...].net> , David Craig wrote:
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:param name="x"/>
>
> <xsl:template match="/">
> <xsl:text>|</xsl:text><xsl:value-of select="$x"
> /><xsl:text>|</xsl:text>
> </xsl:template>
> </xsl:stylesheet>
>
> I would expect to get "|valueofx|" but instead I get "||"
How do you expect the processor to guess the value of x ?
Try adding a select to your <xsl:param>
--
|":._.:"| http://habett.com/
| (=) | http://habett.org/
|.(/'\).| Underneath there is the light
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
David Craig
Lars Haugseth
A. Pagaltzis
Stephane Roux
A. Pagaltzis
|
|
|
 |
|