[thelist] POSTing XML from an ASP page?

Chris Clark chris at heartsong.biz
Tue May 11 16:16:14 CDT 2004


Microsoft has a server object that you can call and create xml with.
here is a link at msdn
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/htm/xmobjxmlhttprequest.asp

I have use the component to create and manipulate xml files both in memory
and as written to disk.
With this component You have the usual createNode, appendChild,
set/getAttribute functions needed.

Hope this helps

Chris Clark
Web Developer
www.ctsg.com

<quote who="Tom Dell'Aringa">

> --- Scott Dexter <dexilalolai at yahoo.com> wrote:
>
>> > What I have to do from there is build XML from that data and then
>> > again POST it to one of our XML interfaces we have.
>>
>> How are these interfaces accessed? HTTP? (D)COM? ftp? email?
>
> HTTP
>
>> > 1. How do I get my form data into XML (I'm fairly familiar with
>> XML
>>
>> I'd tackle it brute force, since there really isn't any facility in
>> ASP to output it for you: loop through the form variables and
>> create your XML by hand.
>
> Can you be more specific? Should I simply be outputting and
> concatenating lines like:
>
> somevar = "<foo>value1</foo>"
> somevar = "<foo2>value2</foo2>" (rough example)
>
>> > 2. Once I have that XML (I assume sitting in a variable) how do I
>> > then POST it?
>>
>> Again, how are the XML interfaces consumed in a "normal" situation?
>
> Normally they are consumed via HTTP if I understand you (and them
> heh) correctly. I was told I could just post it to
> HTTP://blah_blah_blah
>
> Tom
>
>
> =====
> http://www.Pixelmech.com/ - read my latest blog posting!
> http://www.thywordistruth.net/ - Eternal Life
>
> There is no missing link, just a fist shaken toward God.
>
>
>
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



More information about the thelist mailing list