xsl-list
[Top] [All Lists]

RE: [xsl] Detecting a closing tag in xslt

2006-05-04 07:55:49
XSLT operates on a tree representation of the XML document, in which the
nested hierarchic structure implied by the start and end tags is made
available as a tree of objects.

So a (start, end) tag pair results in the creation of a single element node,
and it is that node that your XSLT stylesheet (or more strictly, your XPath
expression) sees. Don't think tags, think nodes.

What are you trying to achieve?

Michael Kay
http://www.saxonica.com/
 

-----Original Message-----
From: Tech Savvy [mailto:tecsavvy(_at_)gmail(_dot_)com] 
Sent: 04 May 2006 15:48
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Detecting a closing tag in xslt

Hi:

I have an xml file like this:

<list1>

......
</list1>

<graphic>

</graphic>

Is there a way to detect the closing tag </list1> in XSLT?

Thanks in advance

--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--