Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Parsing XML with MSXML and ASP

From: "Han" <hp4444@------.---.----->
To: NULL
Date: 7/6/2005 10:02:00 AM
> 1.  What would be the best component below to do this?  MSXML?

That's largely a matter of taste. I would choose DOM v4.0.

> 2.  I have seen code examples, but they all refer to the XML file as being 
> on the server drive, not from a 3rd party URL.

What you have seen is not all. You can do with URL as same with local path. 
Just add before load(),

xmldoc.setProperty("ServerHTTPRequest", true);

> 3.  Can I reference the received data as a recordset and use normal ASP 
> repeat regions to display and manipluate?

No, at least directly. You must convert the xml into XDR type xml to read as 
ADO recordset.
However that's bad idea. You can just use DOM or transform the DOM with 
XSLT.
All that can be done with recordset can be done 10 times more elegantly with 
DOM and XSLT.

> 4.  If no to above, how do I iterate thru?

Answered already. 



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent