This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]