Adrian wrote:
I am trying to test the name of the current element as shown below.
You can get name of an element using name() or local-name() function.
But for testing purposes it's safer to use self::foobar pattern.
However I need to process them a second time differently:
<xsl:for-each select="CoordGeom/*">
<xsl:if test="position()=1">
M <xsl:call-template name="getStart" />
</xsl:if>
<xsl:choose>
<xsl:when test=".=Line"> <!-- something like this -->
<xsl:when test="self::Line">
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list