Parsing Web Service XML

I am having an issue when trying to parse the XML file return from this web service: http://www.xignite.com/xquotes.asmx/GetQuote?Symbol=MSFT. It appears that the issue is arrizing becuase of the name spaces specified in the root node. If I save the xml file remove the extra info from the root node so then it is my transform to html works fine.

Does anyone have any suggestions?

Comments

  • : I am having an issue when trying to parse the XML file return from this web service: http://www.xignite.com/xquotes.asmx/GetQuote?Symbol=MSFT. It appears that the issue is arrizing becuase of the name spaces specified in the root node. If I save the xml file remove the extra info from the root node so then it is my transform to html works fine.
    :
    : Does anyone have any suggestions?

    xmlns attributes are quite standard in xml documents. In fact I believe they are required for validity. How are you transforming to HTML and what errors are you getting?


    [size=5][italic][blue][RED]i[/RED]nfidel[/blue][/italic][/size]

  • I have since found out how to work work namespaces in XML and XSL. It was becuase the client delivering the XML document specified a default name space. I had to specify this name space in order to transform the document.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion