Subject: Re: [xsl] Detecting a closing tag in xslt|
From: "Jon Gorman" <jonathan.gorman@xxxxxxxxx>
Date: Thu, 4 May 2006 09:52:49 -0500
I have an xml file like this:
Is there a way to detect the closing tag </list1> in XSLT?
Ummm, no. That's the point of the underlying model. Things get read into the parser, then the processor deals with the tree of elements, attributes, and other types of node. That being said, there might be some tricky way to force it XSLT 2.0. If you want to use a streaming model, there's SAX.
Why do you think you need to see the closing tag? Odds are there's a way to do what you want in XSLT.
|<- Previous||Index||Next ->|
|[xsl] Detecting a closing tag in xs, Tech Savvy||Thread||Re: [xsl] Detecting a closing tag i, Tech Savvy|
|[xsl] Detecting a closing tag in xs, Tech Savvy||Date||RE: [xsl] Detecting a closing tag i, Michael Kay|