[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] selecting all children of the context node
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|