frontline
07-21-2003, 09:21 AM
Hello
say i like to search attribute value in one of the node's what are the tools i have in xml/xsl/js (client side only)
that can give me the attribute value ?
for example i have :
------------------------------------------------------------------
<root>
<foo1 atr1="1" atr2="22" atr3="333">
<foo2 atr1="44" atr2="55" atr3="66">
</root>
-----------------------------------------------------------------
and i like to find all the <foo> nodes that have atr1="44"
or all the "atr1" that = 55 ... and so on...
thanks
say i like to search attribute value in one of the node's what are the tools i have in xml/xsl/js (client side only)
that can give me the attribute value ?
for example i have :
------------------------------------------------------------------
<root>
<foo1 atr1="1" atr2="22" atr3="333">
<foo2 atr1="44" atr2="55" atr3="66">
</root>
-----------------------------------------------------------------
and i like to find all the <foo> nodes that have atr1="44"
or all the "atr1" that = 55 ... and so on...
thanks