answersLogoWhite

0

What are the difference between xml and sgml?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

SGML had a variety of rules that made it difficult to parse correctly, and less legible than XML. XML was made to be more machine and human friendly. Both languages are otherwise remarkably similar, including DTDs and validation, as one would expect, since SGML was the ancestor of XML.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the difference between xml and sgml?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where did XML come from?

XML was based off of the Standard Generalized Markup Language. It was built to fill the need for a strategic storage system that was easy to read and manipulate data with. XML was first developed to make SGML usable for Web purposes. SGML is a very large and complicated norm (thousands of pages). XML is kind of a subset of SGML, but at the same time has more restrictive rules, so that parsers and transformers working on XML are faster and more easy to implement.


Is XML a database?

XML is not a database. It is a document markup language, a cousin of HTML and a descendant of SGML. Databases can read XML to import data, and export XML to other applications (depending on the capabilities of the database).


What is the difference between xslt and xml?

XML is a language used to store data. XSLT is a language which is used to transform XML into other XML.


What is difference between XML property and XML dimension?

The xml property returns the XML of a node and its descendants.Dimension is a type used for a variety of purposes for defining values


What are some examples of markup languages?

HTML XHTML SGML MathML XML GML are a few Markup Languages to name


Difference between java script and xml?

It would be harder to describe the similarity between JavaScript and XML. These two languages are for entirely different purposes.


Difference between HTML and xHTML 1.0?

HTML uses SGML-like syntax. XHTML 1.0 uses XML syntax. HTML uses HTML DOM, XHTML uses XML DOM. There are small differences between those. Other than that, they're identical. They use same tags, attributes, have same semantics. XHTML 1.0 specification is very short and refers to HTML 4 specification for all important matters.


Html is similar to?

Some versions are not just similar to, but actually valid, XML (extensible markup language.) HTML also bears a resemblance to the my older SGML.


What is the difference between a well formed XML document and a Valid XML document?

Well-formed XML means that the XML is correct (it has only one root node, and all elements match an end element tag)Valid XML means that the XML can be validated to an XML Schema or DTD, and that all the tags in the XML are also in the Schema or DTD, and in the right place.


What is a rewritten form of HTML using xml?

The HTML language, which was originally based of SGML, was rewritten following XML guidelines for the XHTML 1.0 and 1.1 standards. These standards were well embraced by the web development community, but XHTML has since been largely supplanted in new projects by HTML 5 (which is not XML compliant.)


What is the cause for the emerging of XML when you had HTML?

Both are markup languages and subsets of the ISO, SGML standard.HTML is good for describing magazine like pages of communication (text), while XML is good for describing how data is to be handled (it deals with meta data).Thus as you can see the XML and HTML are tuned for doing different things.


What is difference between binary file and Excel file?

When referring to Excel 2007, there are two file types you can use when you save a file, XML and binary. If you save the file as binary, then there is no difference between the two. If you save the file as XML, then the XML file contains XML formatting data (explanation beyond the scope of this question) and the binary file is formatted for computers to read directly.