Re: how to test previous node name
On 2/11/07, xslt. new <xslt.new@xxxxxxxxx> wrote:Hi all:
I think (s)he meant (guessing):
select="preceding::*[self::text] | parent::test1/*[generate-id(.) eq generate-id(current())]"
but the OP is pretty unclear about what he wants (can text node be named test1, can test1 be something else then a parent etc? What is the context node?) and fails to include his own tryouts.
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