Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving Values from XML Table based on attribute values in ASP Page

Status
Not open for further replies.

thuraivan

Technical User
Dec 11, 2001
8
IN
I have the following xml table :

<QuestionBank>
<Question Number=&quot;1&quot;>
<TextOfQuestion> Text of Question </TextOfQuestion>
<Answer> Text of Answer to Question 1 </Answer>
</Question>

<Question Number=&quot;2&quot;>
<TextOfQuestion> Text of Question </TextOfQuestion>
<Answer> Text of Answer to Question </Answer>
</Question>
</QuestionBank>

(And the file goes on)...

Supposing, if i have the value of the &quot;Number&quot; Attribute of Question Node from the user &quot;AT RUN-TIME&quot;... how to retrieve the Text of both the TextOfQuestion Node and Answer Node pertaining to the &quot;Number&quot; Attribute...





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top