I have a XML string returned from SQL server as a result of select query. The XML string looks like:
[CODE=xml]<row col1="value1", col2="value2"/><row col1="value12", col2="value22"/>[/CODE]
At the client side I want to read a specific row based on the user selected value.
For example, if the user selects a drop down item whose value is "value1" I want to read the col2 value from the xml string where the col1 value is "value1". How can I achieve this? It seems doable, but being a n00b in web programming I'm unable to get hold of this thing.
Thanks.
[CODE=xml]<row col1="value1", col2="value2"/><row col1="value12", col2="value22"/>[/CODE]
At the client side I want to read a specific row based on the user selected value.
For example, if the user selects a drop down item whose value is "value1" I want to read the col2 value from the xml string where the col1 value is "value1". How can I achieve this? It seems doable, but being a n00b in web programming I'm unable to get hold of this thing.
Thanks.
Comment