Re: [xsl] Detecting a closing tag in xslt

Subject: Re: [xsl] Detecting a closing tag in xslt
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 4 May 2006 16:01:24 +0100
> Is there a way to detect the closing tag </list1> in XSLT?

XSLT can not detect any tags (opening or closing). The tags are resolved
by an XML parser before the XSLT process starts, and the XSLT process
receives as input a tree of nodes. The node corresponding to an element
of course has some relationship to the start and end tags in the
original document (if there was an original document) but you can not
match on the start or end of a node, a node is single unit which has
children (and parents etc).


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread