feesu
asked on
HTML vs XML
Hi Experts,
Is comparing HTML with XML a fair comparizon? I don't think even we are allowed to do that!
I had an aurgument with our instructor yesterday about that XML is different than HTML and it does not make any sense to compare them. HTML is made to generate graphical output, and XML is more of a database that you may structure such as any database tool, except that it is a simple datafile!
He was against that i called it "more of a database" and said it is same as HTML but more advanced that could be used as a database but is not supposed to go under that category!
What do you experts think? And are there articles that i can show him to prove my opinion?
Thanks in advance,
Is comparing HTML with XML a fair comparizon? I don't think even we are allowed to do that!
I had an aurgument with our instructor yesterday about that XML is different than HTML and it does not make any sense to compare them. HTML is made to generate graphical output, and XML is more of a database that you may structure such as any database tool, except that it is a simple datafile!
He was against that i called it "more of a database" and said it is same as HTML but more advanced that could be used as a database but is not supposed to go under that category!
What do you experts think? And are there articles that i can show him to prove my opinion?
Thanks in advance,
ASKER
But you cannot use xml to generate a graphical output such as html! ie you cannot create tables, format fonts, generate styles for text you write, or include graphical objects such as buttons, inputs etc... In addition, in xml you may create a typical database, add/edit/delete records in it! Therefore, how may you compare xml with html and they serve different purpose?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Extract from Wikipedia
"The Extensible Markup Language (XML) is a general-purpose markup language.[1] It is classified as an extensible language because it allows its users to define their own tags. Its primary purpose is to facilitate the sharing of structured data across different information systems, particularly via the Internet.[2] It is used both to encode documents and serialize data. In the latter context, it is comparable with other text-based serialization languages such as JSON and YAML.[3]
It started as a simplified subset of the Standard Generalized Markup Language (SGML), and is designed to be relatively human-legible. By adding semantic constraints, application languages can be implemented in XML. These include XHTML,[4] RSS, MathML, GraphML, Scalable Vector Graphics, MusicXML, and thousands of others. Moreover, XML is sometimes used as the specification language for such application languages."