JABOSL
Programmer
- Jan 25, 2006
- 35
I've got a xml file I receive as one long string. I use:
Dim doc As New XmlDocument
doc.LoadXml(xmlString)
I can't figure out how to see the values of the fields that have been passed to me. For instance how would I put the account_number or better yet the reply_code into a textbox? (I manually broke the xml string into lines below to make it easier to see where what I'm asking for exists.) Thanks!
<?xml version="1.0" encoding="UTF-8"?>
<status_request>
<session_key>EdUEGY8WE=</session_key>
<message_type>0200</message_type>
<transaction_type>01</transaction_type>
<sequence_number>000001</sequence_number>
<data_indicator>1</data_indicator>
<addenda_indicator>1</addenda_indicator>
<account_number>10362940764</account_number>
<response_fields>
<reply_code>050</reply_code>
<auth/>
<reference_no/>
</response_fields>
</cardtel_request>
Dim doc As New XmlDocument
doc.LoadXml(xmlString)
I can't figure out how to see the values of the fields that have been passed to me. For instance how would I put the account_number or better yet the reply_code into a textbox? (I manually broke the xml string into lines below to make it easier to see where what I'm asking for exists.) Thanks!
<?xml version="1.0" encoding="UTF-8"?>
<status_request>
<session_key>EdUEGY8WE=</session_key>
<message_type>0200</message_type>
<transaction_type>01</transaction_type>
<sequence_number>000001</sequence_number>
<data_indicator>1</data_indicator>
<addenda_indicator>1</addenda_indicator>
<account_number>10362940764</account_number>
<response_fields>
<reply_code>050</reply_code>
<auth/>
<reference_no/>
</response_fields>
</cardtel_request>