[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Transmitting XML between different applications


marshall string
Michael Kay wrote:

>>Hello Mr. Kay,
>>  When you say, "probably not to encode it at all,
>>i.e. send the XML document as is", do you mean send
>>the XML document as a string?
>>    
>>
>
>Yes. An XML document is a string.
>  
>
>>My sending application will create XML (for e.g. from
>>browser input). I think best way to create a XML
>>structure from discreet input values, would to use a
>>DOM parser, and then serializing the DOM object into
>>string? Is this the best way to create XML string at
>>source application!
>>    
>>
>
>That's one way. Alternatives to DOM, within the same architectural approach,
>include JDOM and XOM - both are much easier to use. Other possibilities
>include writing out SAX events to a SAX serializer, or writing angle-bracket
>syntax directly. Which is easiest depends on your application.
>  
>
>>I recently came to know about 2 applications
>>exchanging XML via email as transport. The sending
>>application sends "XML file" attachments to a specific
>>email address. The receiving application extracts the
>>XML attachments from email. Is this a practical
>>approach?
>>    
>>
>
>It seems a bit kludgey to me, but as a cheap and cheerful way of achieving
>asynchronous communication with minimal configuration overhead, it's
>certainly viable.
>  
>
it's cheap and cheerful alright. but can be very effective. you have the 
advantage of the email filtering process to protect you from a lot of 
nasties.

i've used it a lot where cheap and cheerful fits the bill. the biggest 
problem is congestion with other email traffic so you can't guarantee 
response times. if that's important then you need a more dedicated 
product or a more sophistcated email setup.

i use sendmail for these little applications :) as it's pretty easy to 
configure these days.

rick

>Michael Kay
>http://www.saxonica.com/
>
>
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
>!DSPAM:42170c38157741199417861!
>
>  
>

begin:vcard
fn:Rick  Marshall
n:Marshall;Rick 
email;internet:rjm@z...
tel;cell:+61 411 287 530
x-mozilla-html:TRUE
version:2.1
end:vcard


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.