RE: [xsl] select all elements except root

Subject: RE: [xsl] select all elements except root
From: "WATKIN-JONES,ADAM (HP-UnitedKingdom,ex1)" <adam_watkin-jones@xxxxxx>
Date: Thu, 21 Mar 2002 15:57:19 -0000
I think that 

<xsl:template match="*[../..]">

may work better because the outermost document element
has a parent in the XSLT tree model - the root node.



-----Original Message-----
From: Dion Houston

Well, I would think this would work:

<xsl:template match="*[..]">

This takes advantage of the fact that the root has no parent...

HTH!

Dion


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread