answersLogoWhite

0


Best Answer

HTML and XML are not directly interchangeable; they are used for different purposes. HTML defines how content is displayed on a webpage. XML defines content containers to be used for specific purposes identified by the e-commerce software.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

XML is a data structuring language used for example in the transfer of data (via file exports or feeds) whereas HTML is the markup language used to create and display websites.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is XML better for e-commerce than HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is XML the same with HTML 5 as it was HTML 4?

There was no XML in HTML 4, and you can only add XML to HTML 5 if you reset the content MIME type. XML hasn't changed. But XML is a language used to define other languages. XML was used to define the standards for XHTML 1.0, the successor to HTML 4. The rules of XML apply in XHTML, because the language is based off of XML. These rules are not, in any way, part of HTML 4. HTML 5 is not, by default, an XML based language. But there is a version that allows one to use the XML (or XHTML) style serialization. If you do this, however, you have to deliver the document using an XML MIME type, like application/html+xml. (Normally, this involves messing with the server a bit.) See the related link for HTML 5 Doctor's take on XML serialization in HTML 5, as well as some other, useful links.


What is a value in xml?

an xml value can be anything, its up to as xml is not a semantic language like html.


Is XML an advanced version of HTML?

As a programmer, processing pure XML is easier that HTML. This is because XML follows a very strict set of standards. HTML (such as HTML 4 or 5) does not. For instance, all XML tags close, either by a closing pair, or a "self-closing" tag. e.g.: <tag></tag> Or <tag /> Whereas HTML tags such as line-break and image don't follow the same pattern. <img> <br> By adhere to stricter rules, XML is easier for me to parse.


How xml is different from HTML?

XML is more strict. For HTML, doing <b><i></b></i> wouldn't matter. That would be invalid XML. Also, XML has no set tags. It's for storing and retrieving set data, that can be used with JavaScript code.


What are the naming rules in XML?

XML has no rules like html in regards to tags and naming tags, you write your own xml tags.

Related questions

What is the extension of HTML and xml?

You mean the file extension, right? HTML: .html or .htm XML: .xml


How do you get xml in HTML?

xml can be written straight into html code and vice versa using the correct syntax, ie your html in here and your xml in here


How do those xml differ from HTML?

XML is different from HTML in many ways. XML can be used mainly for mobile designing while HTML for web designing.


Is XML the same with HTML 5 as it was HTML 4?

There was no XML in HTML 4, and you can only add XML to HTML 5 if you reset the content MIME type. XML hasn't changed. But XML is a language used to define other languages. XML was used to define the standards for XHTML 1.0, the successor to HTML 4. The rules of XML apply in XHTML, because the language is based off of XML. These rules are not, in any way, part of HTML 4. HTML 5 is not, by default, an XML based language. But there is a version that allows one to use the XML (or XHTML) style serialization. If you do this, however, you have to deliver the document using an XML MIME type, like application/html+xml. (Normally, this involves messing with the server a bit.) See the related link for HTML 5 Doctor's take on XML serialization in HTML 5, as well as some other, useful links.


Does xml replace html in the future of world wide web?

XML probably will not replace HTML. XML is a language to define categories of data. HTML is a language to define format.


Are HTML and XML programming languages?

HTML and XML are scripting languages. These languages help in designing for mobiles and web.


What is the similarity's between HTML and xml?

HTML and XML both are markup languages. These languages use tags for functionality.


What are the differences between htmlxmlsgml and xhtml?

basikly xhtml is a mics of html and xml. the difference in html and xhtml is that xhtml is a more strict on the syntax and defined as a xml document. xml is a self defined language... in short it is a strikter html in xml format...


What is a value in xml?

an xml value can be anything, its up to as xml is not a semantic language like html.


Is XML an advanced version of HTML?

As a programmer, processing pure XML is easier that HTML. This is because XML follows a very strict set of standards. HTML (such as HTML 4 or 5) does not. For instance, all XML tags close, either by a closing pair, or a "self-closing" tag. e.g.: <tag></tag> Or <tag /> Whereas HTML tags such as line-break and image don't follow the same pattern. <img> <br> By adhere to stricter rules, XML is easier for me to parse.


How xml is different from HTML?

XML is more strict. For HTML, doing <b><i></b></i> wouldn't matter. That would be invalid XML. Also, XML has no set tags. It's for storing and retrieving set data, that can be used with JavaScript code.


How do you convert a HTML to a XML?

There are several utilities that can do this for you.