Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 1234»»»

What is XML? Expand / Collapse
Author
Message
Posted Thursday, June 22, 2006 1:45 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, July 29, 2014 2:47 PM
Points: 132, Visits: 114
Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/shirsch/whatisxml.asp
Post #289489
Posted Sunday, July 23, 2006 10:20 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, March 4, 2014 2:50 AM
Points: 10, Visits: 80

At last sanity!. XML is just another technical solution in search of a problem.

Many years ago a user said "We have a problem sending our orders to  xyz co. ltd -  their system doesnt understand our systems data format". A passing techy thought "I could fix that!" and suggested xml. Therby missing the point completely.

The real issue when communicating data twixt diferent systems is not that system B does not know which field holds system A's stock code, its that a stock code on system A is "00123" but on system B its "WIDGET01".  XML doesnt begin to address this.

Good data storage mediums are simple, efficient and transparent to applications. XML is complex, massively wasteful of storage and computationally an open ended black hole. It is fundamentally inappropriate as a data storage medium, and a poor choice for data transfer.

Cage rattled ?

Post #296617
Posted Monday, July 24, 2006 12:19 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, November 18, 2012 8:50 PM
Points: 15, Visits: 42

Yes the hype is crazy, I thought it would have died down by now but its still going strong!

As my Dad once said to me "Horse's for coarse's".

A great saying, and it simply means this, XML isnt the only way of transporting data, it's just ONE of the many ways you can transport data! If size is a problem, then use something else. No one has a gun to anyone's head telling them they must use XML, use it when it fits best. For some applications it works great, as a data store, Im sure there are other better formats. There was some huge debate over SQL2005 handling XML data types. I couldnt see the fuss, if it doesnt work for you then dont use it, and if you want to use it, its always there as an OPTION! Dont limit yourself, you only cage yourself in. Ide prefer to have a toolbox full of tools for every occasion, I dont have to use them all, buts its always good to have it just in case?

Also dont forget that DTDs are being phased out over the "Schema", basically XML describing itsself.

Good article dude, keep it up.

Post #296624
Posted Monday, July 24, 2006 5:52 AM


UDP Broadcaster

UDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP BroadcasterUDP Broadcaster

Group: General Forum Members
Last Login: Wednesday, January 2, 2013 12:15 PM
Points: 1,443, Visits: 711

Stephen,

Nice article!  Finally a simple explanation of XML!

 

Mark

Post #296653
Posted Monday, July 24, 2006 7:42 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Sunday, June 22, 2014 6:53 PM
Points: 967, Visits: 388

Every time you use XML, God kills a kitten.

Post #296683
Posted Monday, July 24, 2006 7:47 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Thursday, September 18, 2014 4:51 PM
Points: 889, Visits: 1,550

Thank you sooo much for writing an article that is an honest look at XML and not one that’s nothing but another praise of XML and how XML is the second coming in the programming world.  I’m so fed up with hearing how XML will solve every known computer related problem.  Personally I have no issue with Microsoft integrating XML into dotNET or even into SQL Server 2005 but I do have issue with them selling XML as the end all in development and making it sound like as if everything needs to be converted to XML as soon as possible. 

 

XML is just another tool in a developer’s toolbox and anyone who sees it as anything else is fooling themselves.  I have seen many am articles and related pieces on the net and in print talking about how developers who want to stay in demand need to jump on the XML bandwagon ASAP, leaving everything else behind.  IN a few years, after a sizeable number of companies and users have tried to ‘do it all in XML’ have been thru the process and realized the folly of substituting everything else for XML, things will swing back to normal like they are now and XML will be viewed as no more then what it is, another method, option or tool for working with software.

 

The smart developer will learn how and when not to use XML as well as how to use it.

 

Ed



Kindest Regards,

Just say No to Facebook!
Post #296685
Posted Monday, July 24, 2006 9:06 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, May 9, 2011 7:49 AM
Points: 343, Visits: 188
Note that even .NET uses binary internally - not everything is XML.

I agree wholeheartedly with the article. The systems at each end still need to know the schema so its no different to a binary struct - just bigger. The only advantage that I can see for XML - and it can be a big one - is that its human-readable which makes debugging and investigation a lot easier. ... but then you can write a simple decoder for any other structure.



Post #296756
Posted Monday, July 24, 2006 9:38 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 10:57 AM
Points: 266, Visits: 2,598
I appreciate this article for it's objective voice. I've long felt the same way, but it feels like nice vindication when someone else posts similar thoughts.

For most of my data transfers, I still feel that a the good-old comma delimited text file is peachy-keen. However, if I have to transfer long narratives/text fields, it seems like XML is the way to go. What do other programmers use when you have to transfer large text fields?
Post #296774
Posted Monday, July 24, 2006 9:41 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, March 2, 2010 7:34 AM
Points: 1, Visits: 2
THANK YOU THANK YOU THANK YOU especially for pointing out that XML is heirarchical -- I've been fighting very frustrating battles with people who believe in the next silver bullet but have no appreciation for data modeling. The hard fact that people need to get is that data modeling has nothing to do with any particular technology and and everything to do with understanding the business.
Post #296775
Posted Monday, July 24, 2006 9:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, November 30, 2006 6:50 PM
Points: 1, Visits: 1
I'm not sure that XML was intended to be a language to fully encode reality between the angle brackets. Nor is every use case possible to capture. But for the really dull ones, like exchanging business documents, the world will not miss the hours p-ed away manually coding flat ASCII mappings between EDI, Some Guy's Clever Markup Scheme, and your RDBMS.

What it offers is a lot more reuse. It's not very good as a primary data store, but it makes the transfer of complex data easier, and using standardized parsers for manipulating it are easier than writing your own. It's just one tool among many, though a useful one.
Post #296784
« Prev Topic | Next Topic »

Add to briefcase 1234»»»

Permissions Expand / Collapse