ASPDOTNET
06-17-2008, 12:58 PM
Hello!
I have a simple problem I can't find an answer to.
What I am trying to do is create a popup page that reads information from and xml file.
The xml file similar to this:
~~~~~~~~
<?xml version="1.0" encoding="utf-8" ?>
<codes>
<7845 name="Name1" value="Value1">
<7445 name="Name2" value="Value2">
</codes>
</xml>
~~~~~~~~
I need to be able to read the parameter of a value, so it can be inserted into the page. So for example, the code (7845) is passed in the url, and this is then used to read the xml data and paste the Name and the Value into the popup. Only one name and value will be read on each popup.
How exactly would I extract just the values I need? I am currently using the XMLDataSource with a ListRepeater, but I can't find how to do the above.
If you have any questions, or need clarification, just ask.
Thank you very much!
I have a simple problem I can't find an answer to.
What I am trying to do is create a popup page that reads information from and xml file.
The xml file similar to this:
~~~~~~~~
<?xml version="1.0" encoding="utf-8" ?>
<codes>
<7845 name="Name1" value="Value1">
<7445 name="Name2" value="Value2">
</codes>
</xml>
~~~~~~~~
I need to be able to read the parameter of a value, so it can be inserted into the page. So for example, the code (7845) is passed in the url, and this is then used to read the xml data and paste the Name and the Value into the popup. Only one name and value will be read on each popup.
How exactly would I extract just the values I need? I am currently using the XMLDataSource with a ListRepeater, but I can't find how to do the above.
If you have any questions, or need clarification, just ask.
Thank you very much!