"Michael Kay" <mike(_at_)saxonica(_dot_)com> 09:40 27 March 2009 >>>
<xsl:template match="Folder">
<xsl:for-each
select="Placemark[ExtendedData/Data/attribute::name='rdb_statu
s' and ExtendedData/Data/value='Endangered']">
I suspect this still isn't quite right. I suspect you want rdb_status and
Endangered to be present together on the same Data element, whereas you are
selecting any Placemark that has some Data with @name='rdb_status' and some
Data (perhaps a different Data) with value='Endangered'. If I'm right, you
want:
<xsl:for-each select="Placemark[ExtendedData/Data[(_at_)name='rdb_status' and
value='Endangered']]">
Michael Kay
http://www.saxonica.com/
Michael - yes, your suspicions are correct. Many thanks for this amendment.
Alan
--~------------------------------------------------------------------
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>
--~--