Jeff,

Here is a quick example.

    LOCAL ohttp AS msxml2.serverxmlhttp30
    LOCAL xmluri
    LOCAL oNodeList AS msxml2.IXMLDOMNodeList

    m.xmluri = "http://www.w3schools.com/xml/cd_catalog.xml";

    ohttp = CREATEOBJECT("msxml2.serverxmlhttp.3.0")
    ohttp.OPEN("get", m.xmluri, .F.)
    ohttp.SEND()

    IF ohttp.readyState = 4
        oNodeList = ohttp.responseXML.selectNodes("CATALOG/CD")
        ?oNodeList.LENGTH
        FOR NN = 0 TO oNodeList.LENGTH - 1
            ?"Node #",TRANSFORM(NN)
            ?oNodeList.ITEM[NN].XML
        NEXT
    ENDIF


I use version 3 of the XML object out of habit, it is supported back to XP.

The ohttp.responseXML object has the xml property that you can save to a file. 
Which you can load into XML Notepad.

HTH,
Tracy
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to