This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
selecting all children of the context node
- To: xsl-list at mulberrytech dot com
- Subject: selecting all children of the context node
- From: "Medina, Edward" <emedina at btg dot com>
- Date: Wed, 12 Apr 2000 12:55:29 -0400
- Reply-To: xsl-list at mulberrytech dot com
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