xsl-list
[Top] [All Lists]

[xsl] how to test previous node name

2007-02-11 12:06:09
Hi all:

I have an XML input:

<test1>
<item></item>
<text></text>
<item></item>
</test1>

How do I check if the previous node name for <item> is test1 or text?

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