[/B]HI,
I NEED TO REFER TO AN ATTRIBUTE USING XPATH IN A LOCAL
VARIABLE(NODE-SET) WHICH CONTAINS XML. THE ATTRIBUTE NAME I WANT TO
REFER TO IS NOT KNOWN TO ME BUT IS STORED IN ANOTHER VARIABLE. FOR E.G.
IF THE CONTAINER VARIABLE IS *VAR* WHICH CONTAINS THE XML

*<XML>
<ABC X=\"AAA\">
123
</ABC>
</XML>

the attribute name 'abc' is in [B]var2*, the attribute name 'x' in
variable *var3*, how do i refer to the value in attribute 'x' or in tag
'abc'?

I tried using $var/$var2$ and similarly for the attribute, but it
doesnt work...
Please guide on the required syntax..

Any HELP would be greatly appreciated...


--
varunece
------------------------------------------------------------------------
varunece's Profile: http://forums.novell.com/member.php?userid=42999
View this thread: http://forums.novell.com/showthread.php?t=372263