[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using a custom variable derived from one XML file
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|