xsl-list
[Top] [All Lists]

[xsl] how to test for direct child element

2006-11-08 11:15:05
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.

Thank you in advance.

_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


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

<Prev in Thread] Current Thread [Next in Thread>