Re: [Fwd: call-template with-param]2003-12-15 02:42:45Martin Wiklund wrote: <xsl:template name="translate_entry" match="*/id"> <xsl:param name="entry_id"/> <xsl:value-of select="document( 'descr.xml' )/entries/entry[(_at_)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
|
|