|
Subject: Re: [xsl] Using a custom variable derived from one XML file to search another and retrieve values of child nodes From: Florent Georges <lists@xxxxxxxxxxxx> Date: Sun, 20 Jul 2008 14:57:38 +0200 (CEST) |
Rob Newman wrote:
Hi
> <xsl:template match="station">
> <Placemark>
> <xsl:variable name="thisSta"><xsl:value-of select="@name" /></
> xsl:variable>
> <name><xsl:value-of select="$thisSta" /></name>
> <xsl:template match="document( sources/source/@href, .)/
> dataloggerlist/datalogger/@name=$thisSta">
This is not a correct XSLT snippet. You can't have embedded template
rules. I guess you want rather a for-each, or an apply-templates +
separated template rule.
Regards,
--drkm
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Using a custom variable d, Rob Newman | Thread | Re: [xsl] Using a custom variable d, Rob Newman |
| Re: [xsl] Fwd: xml/xslt line break, Martin Honnen | Date | Re: [xsl] Fwd: xml/xslt line break, Taly |
| Month |