Code:
<xsl:attribute name="seq">
<xsl:choose>
<xsl:when test="count(preceding-sibling::Element)=0">Start</xsl:when>
<xsl:otherwise>
<xsl:value-of select="preceding-sibling::Element[1]/@action" />
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
/- Sam Judson : Wrox Technical Editor -/