From: wrew ewrwe [mailto:meenananju(_at_)hotmail(_dot_)com]
Sent: 08 November, 2006 13:13
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] how to test for direct child element
Hi:
I have an xml in this format:
<step1>
<text><para>test</para></text>
<note><para>some notes</para></note>
</step1>
How do I check if "note" element comes immediately ater <step1>?
That is if we have <step1><note><para></para></note></step1>
only I want to process the node.
//step1/*[1]/self::note
--~------------------------------------------------------------------
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>
--~--