How To Parse XML In ASP Without Microsoft.XMLDOM

Discussion in 'C#' started by atlantadentalcenter, Dec 17, 2008.

  1. #1
    I'm stuck trying to parse XML in ASP without Microsoft.XMLDOM as I get an error when I use Server.CreateObject("Microsoft.XMLDOM") and don't think the hosting provider has the XML Document Object Model installed.

    Error is:
    Server object error 'ASP 0177 : 800401f3'
    
    Server.CreateObject Failed
    
    /ups-tracking-test.asp, line 11
    
    Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
    Code (markup):
    I'm rather learned at PHP but not as well at ASP, so any ideas how I could Parse the XML without Microsoft.XMLDOM and without it taking to much effort?

    By the way I'm parsing a XML response from a USP rate lookup with their API.
     
    atlantadentalcenter, Dec 17, 2008 IP
  2. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #2
    can you provide an example of a response and what data you intend to retrieve from that response?
     
    camjohnson95, Dec 20, 2008 IP
  3. jhannell

    jhannell Member

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    can you send the whole code so i can help you
     
    jhannell, Jan 2, 2009 IP