Subject: selecting all children of the context node
From: "Medina, Edward" <emedina@xxxxxxx>
Date: Wed, 12 Apr 2000 12:55:29 -0400
|
Okay according to the W3C standard
*/para selects all para grandchildren of the context node
so if I do the following it should work
<xsl:template match="document">
<xsl:if test="*/packet[@secur.classif='U']">
<xsl:text>U N C L A S S I F I E D</xsl:text>
</xsl:if><p></p>
</xsl:template>
or am I missing something?
It works like this!!!!!!
<xsl:template match="document">
<xsl:if test="/document/packet[@secur.classif='U']">
<xsl:text>U N C L A S S I F I E D</xsl:text>
</xsl:if>
</xsl:template>
Thanks
Eddy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|