Rank: Newbie
Joined: 1/17/2008 Posts: 6
|
Hi All, I want to take the attribute value of first node only . As for example:--
<rules> <rule name="ABC" type="EMAIL"/> <rule name="BDG" type="EMAIL"/> <rule name="ACD" type="SERVICE"/> <rule name="13" type="SERVICE"/> </rules>
i want only values of first node having different attribute as:-
<rules> <rule name="ABC" type="EMAIL"/> <rule name="ACD" type="SERVICE"/> </rules>
How can I do.. Please help me out...
|
 Rank: Fanatic
Joined: 7/20/2006 Posts: 486 Location: NL
|
Try position() = first()
Working on an events-calendar with recursion. Post requests on my blog!
|