Q
Problem solve Get help with specific problems with your technologies, process and projects.

XML- what's so great about it?

I have been learning XML and I just don't see what's so great about it...am I missing something here? You need XSL and CSS to make the data look good and ASP, Coldfusion or Javascript to make the data function...Can you explain some advantages of using XML so that I know I'm not wasting my time learning it? Thanks.

There are many applications for which XML as a native data format - is not the right answer. For data interchange applications however, XML is nearly always the right answer. It depends on your needs. If you apps are well served by, for example, the relational model, there is no benefit to be gained from XML databases.

There are many apps that are better suited to XML modelling. They are easily spotted. They are the ones that involve severe data contortions to fit the data into the relational model.

Data-oriented applications aside, XML is *great* for modelling documents that have irregular, nested and recursive structures. The tree structure XML is based on is a good fit with a lot of eContent applications and gives content owners an alternative to proprietary encodings.

So in summary, for database type applications, XML is often not necessary or even helpful in the core but is very useful for data interchange. For document type applications, XML is, more often than not, exactly what you need.


Dig Deeper on Topics Archive

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchAWS

SearchCloudComputing

TheServerSide.com

Close