[xsl] how to test for direct child element

Subject: [xsl] how to test for direct child element
From: "wrew ewrwe" <meenananju@xxxxxxxxxxx>
Date: Wed, 08 Nov 2006 13:12:51 -0500

I have an xml in this format:

<note><para>some notes</para></note>

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

Current Thread