How to find a specific tag in XML using Javascript



I want to find a specific tag in XML using javascript, for example: I want to find a tag which name is "table" and that tag can be at any place in the XML


XML is:



<chater>
<info>
<table>
........
</table>
</info>
<contetnt>
<table>
........
</table>
</contetnt>
</chater>


anybody suggest any idea for this


Thanks


No comments:

Post a Comment