Loading XML from a string

Results 1 to 2 of 2

Thread: Loading XML from a string

  1. #1
    Join Date
    Dec 1969

    Default Loading XML from a string

    The setup:<BR><BR>strXML = "&#060;node&#062;Node 1&#060;/node&#062;"<BR>set objXML = CreateObject("MSXML2.DOMDocument.3.0")<BR><BR>This works:<BR>objXML.load(Server.Mappath("myData.xml") )<BR><BR>But I can&#039;t figure out how to do:<BR>objXML.load(strXML)<BR><BR>Obviously the above line of code just tries to load a file at the location specified in strXML (which isn&#039;t a location). If someone can just point me to documentation for the MSXML2 component so I can see the methods/properties. I&#039;ve been looking for an hour and a half and call me stupid but I just can&#039;t find it. Sometimes finding stuff on MS site is impossible.

  2. #2
    Join Date
    Dec 1969

    Default oXML.loadXML sXML


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts