xsl-list
[Top] [All Lists]

Re: [xsl] Detecting a closing tag in xslt

2006-05-04 08:03:22

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).

David

________________________________________________________________________
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:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--