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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML parsing

Status
Not open for further replies.

luftwalk

Programmer
May 15, 2001
9
SI
Hi,

I'm having problems parsing certain XMLs. I'm using MsXML3 and there is one problem. I have a certain XML that contains a character with a HEX value of 0B (11 in decimal). All of the XMLs that contain this value cannot be parsed with the ServerXMLHTTP object.

What I do is use the open method of the specified object which contains an url to a certain file that returns XMLs to me. Like I said, none of the XMLs containing the character work. The XML is shown in the .ResponseText property of the object, but the .ResponseXML property is empty.

I've tried assigning the value of the .ResponseText propery to a variable (string) and then replacing the character with a space. Then I created a DomDocument object and tried loading the variable into the object by using its loadXML method. But for some reason that doesn't seem to work also. The XML isn't parsed.

If someone knows what the problem is, I'd really appreciate you letting me know, 'cause I've been going crazy over this for a few days now.

Tnx

Bostjan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top