Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim stream As StringReader
Dim reader As XmlTextReader = Nothing
stream = New StringReader(strxml)
stream = New StringReader(strxml)
' Load the XmlTextReader from the stream
reader = New XmlTextReader(stream)
'FormatXml(reader)
While reader.Read()
Literal1.Text += reader.Value()
End While
reader.Close()
End Sub
"Chris Lovett" <cl*****@microsoft.com.no_spam> wrote in
news:ug**************@TK2MSFTNGP10.phx.gbl:
There isn't anything wrong with this XML as far as I can see. Can you
provide more info, for example the entire file and the code you are
using to load it?
"Jim Bayers" <sp**@spamity.spam> wrote in message
news:Xn*****************************@207.46.248.16 ... When we send in credit card info, we get this in reply:
<auth_resp xmlns="urn:auth"><auth_info_resp
id="A1"><order_id>2XXXJl</order_id>
<shopper_id></shopper_id>
<total_amount>0.01</total_amount>
<settlement_amount>0.00</settlement_amount>
<action>X</action>
<response_code>9</response_code>
<response_desc>This order reference has already been processed .
</response_desc></auth_info_resp></auth_resp>
It's returned in xmlnode variable. We'd like to read the variables
but when I load it into an xml reader, it gives an error, saying the
file
isn't xml compatible.