Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning an XML string from VFP COM
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00728987
Message ID:
00729126
Views:
19
>Hi All
>I have a small ASP page that receives an xml string, does some stuff, and returns back a new xml string. In my COM object, i have code that looks like this:
>lcOutput = [<?xml version="1.0" ?>]+CrLf+;
>           [<body>]+CrLf+;
>           [<opCode>OP_CARS_LIST</opCode>]+CrLf+;
>           [<consistentCurrency>]+Currency+[</consistentCurrency>]+CrLf
>
>This goes on and on until i finish to create the string. Can i give this string back to my ASP to be sent with Response.Write, or should i first create an XML DOM object, load this string, and send the Object.XML string? Is it the same?
>
>TIA

Jaime,
To me, that would be adding unnecessary overhead. Simply return the string. String processing is one of the things VFP does very well.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform