[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Martin Wiklund wrote:
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] [Fwd: call-template with-param]
Subject: Re: [xsl] [Fwd: call-template with-param] From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Mon, 15 Dec 2003 10:42:45 +0100 |
Martin Wiklund wrote:
<xsl:template name="translate_entry" match="*/id"> <xsl:param name="entry_id"/> <xsl:value-of select="document( 'descr.xml' )/entries/entry[@id='$entry_id']"/>
You always retrieve the entry having an id with the string value '$entry-id'. Just use @id=$entry_id (without the apostrophes)
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] create a list of elements, Bruno LLopes | Thread | RE: [xsl] [Fwd: call-template with-, Michael Kay |
[xsl] Body problem with table, =?x-user-defined?q?A | Date | Re: [xsl] unparsed CDATA maintain H, David Carlisle |
Month |