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

basic qs - how is xml more flexible for exchanging data?

  • To: xml dev <xml-dev@l...>
  • Subject: basic qs - how is xml more flexible for exchanging data?
  • From: Anil Philip <goodnewsforyou@y...>
  • Date: Thu, 15 Sep 2005 09:58:01 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=V8GXXrJMZNnLfaiIbh5q7VKEl+8l7CvuEE8n4E89GMY2vNgq/wUinou6Xa6wqJve1i+wknJqEhVO59co5BJ8P9r2vaeht77j0gHKbzn1Jnt51jsPEOUNJ8Cc5VBam4kb875fR/zTS5cWeBqjIx7DcGTkp48vUqTGBcMjuueFKVI= ;
  • In-reply-to: <20050914160159.95764.qmail@w...>

basic qs - how is xml more flexible for exchanging data?
Hello,
I would agree that XML is human readable and that
XML+HTML is probably better than HTML. However, I was
wondering:
When we used C, (I guess there's an entire generation
that didnt need to learn it :)), one transferred data
using structs.
eg.
/* from memory... */
struct Foo {
int i;
char[] str;
long j;
};

The Sender and Receiver were tied into explicitly
knowing about Foo's structure - and so were considered
tightly coupled, a bad thing.

With XML, one is sending the description together with
the data in a tagged text file. However, in most cases
of data transfer, the code of both Sender and Receiver
still has to know the structure of Foo especially when
parsing the data file. So how is it more flexible or
even better? (apart from endian stuff)
thanks,
Anil Philip
-

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.