[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?
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|