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]

RE: apply-templates Q


> I want the <xsl:apply-templates> to only select the main 
> <Date> element and not the <Date> element within the <Weeks> node.  

there are many ways you could qualify it, e.g.

select="//Date[not(parent::Weeks)]"

Mike Kay




 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]