I understand that the template match needs to point to a new template.
I will write that now. But how do I select on an attribute value that
matches my custom defined variable $thisSta?
Thanks,
- Rob
On Jul 20, 2008, at 5:57 AM, Florent Georges wrote:
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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--