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

Re: Relating to XML


r.e.. relating to
<Quote>
Using XML for data interchange isn't always the best solution, anyway; 
XML is far better suited to document-type formats, 
</Quote>

Could you please elaborate on why you believe that using XML for data
interchange isn't always the best solution, and what better solutions
there may be?

Kind Regards,
Joe Chiusano
Booz | Allen | Hamilton

Alaric B Snell wrote:
> 
> Baiss Magnusson wrote:
> > I have a direct to java client web application which parses a XML file,
> > I designed the XML syntax, of recipes into Enterprise Objects (EO's).
> >
> > My question is: How does one go about creating interoperability with
> > other applications?
> > For instance, there is another cookbook application around which has an
> > export function and produces an XML type file of similar, but slightly
> > different tag syntax than my cookbook program. I would like to import
> > it's recipes.
> >
> > Is there something about XML services that I am missing?
> 
> Nope - XML doesn't magically make things interoperate; just as with any
> other data format, both ends need to be aware of the meaning of the
> information you're passing back and forth to make sense of it!
> 
> So you define XML formats - like XHTML, SVG, and so on - specifying what
> elements go inside what other elements, and documenting what they
> *mean*. Both applications must stick to the same spec to acheive anything.
> 
> There has been much hype to the tune that XML somehow improves
> interoperability, but alas, there is no real truth behind it.
> 
> Using XML for data interchange isn't always the best solution, anyway;
> XML is far better suited to document-type formats, where the content you
> are exchange is (at heart) a single string of text with structural and
> styling information supplied by the elements. If your XML looks like this:
> 
> <para>text text text text text text text text
> <productName>foo</productName> text text text ...
> 
> ...then everyone seems to agree that XML is good, but when you start to
> get stuff more like:
> 
> <purchaseOrder>
>    <transactionId>12345-2341234</transactionId>
>    <items>
>      <item>
>        <code>G345</code>
>        <qty>10</qty>
>      </item>
>    </items>
> </purchaseOrder>
> 
> ...then you may find it easier to stick to better-established standards
> for such things, like CSV files!
> 
> My personal measure of when XML is being used outside of its domain is
> to think about what the content would look like if I just stripped out
> all the elements. The first example comes out as:
> 
> text text text text text text text text foo text text text...
> 
> Which, had I written some better example prose than 'text', would make
> some sense, whereas the purchase order comes out as:
> 
> 12345-2341234 G345 10
> 
> ...which suggests this is really data being exchanged, rather than a
> document.
> 
> But plenty of others will disagree... :-)
> 
> ABS
> 
> -----------------------------------------------------------------
> 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://lists.xml.org/ob/adm.pl>
begin:vcard 
n:Chiusano;Joseph
tel;work:(703) 902-6923
x-mozilla-html:FALSE
url:www.bah.com
org:Booz | Allen | Hamilton;IT Digital Strategies Team
adr:;;8283 Greensboro Drive;McLean;VA;22012;
version:2.1
email;internet:chiusano_joseph@b...
title:Senior Consultant
fn:Joseph M. Chiusano
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.