Forum Moderators: open
I am new to Javascript. I am developing a Javascript code to create a HTML table.
I need to search the xml file for the string and then read the tags related to the string searched..
Here is the example :
<file>
<name>file_name.txt</name>
<decode>0</decode>
<test>0</test>
<log_file>log_file_name.txt</log_file>
</file>
So, I need to search for file_name.txt and based on the search results, I need to read the decode, test, log_file tags and enter these values in the table.
I would appreciate if you could tell me how to search for the string and read the tags.
Regards
Kiran