[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Frank Boumphrey" <bckman@i...>
  • To: "Ashish Agarwal,AMB Chennai" <ashish_agarwal@m...>, <xml-dev@i...>
  • Date: Sun, 26 Dec 1999 09:16:58 -0500

To pass a string to the XML dom use the 'loadXML method'

dim oXMLdoc, strXML

strXML="<greeting>hello world</greeting>"

set oXMLdoc=server.createObject("Microsoft.XMLDOM")

oXMLdoc.loadXML(strXML)

Of course any XML doc can be opened and manipulated as a string using the
file objects.

HTH

Frank



----- Original Message -----
From: Ashish Agarwal,AMB Chennai <ashish_agarwal@m...>
To: <xml-dev@i...>
Sent: Friday, December 24, 1999 7:20 AM


> Hi All,
> I have this problem as explained below....
>
> I want to pass XML as string... from my ASP program to my COM object.
> but now the problem is, I prepare the XML using the XMLDOMs "set"
> methods.
> I dont understand, as to, how can I assign my XMLDOM object to a
> string and then pass it to my COM object.
> Any tips please....
>
> Rgds,
> Ashish
>
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on
CD-ROM/ISBN 981-02-3594-1
> To unsubscribe, mailto:majordomo@i... the following message;
> unsubscribe xml-dev
> To subscribe to the digests, mailto:majordomo@i... the following
message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@i...)
>


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



  • References:
    • No Subject
      • From: "Ashish Agarwal,AMB Chennai" <ashish_agarwal@m...>
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member