Documente Academic
Documente Profesional
Documente Cultură
HTTPS
Unsecured.
Secured.
No encryption.
Encryption is present.
No certificates required.
Certificates(SSL) required.
Key Point
stands for
Derived from
XML
eXtensible Markup Language
SGML.
for transport
data between application and
database.
Rules
HTML
database.
Tags
How to write
Example. <note>Travel
experience</note>
Whitespace
Behavior
whitespace.
HTML
XML
Definition
1990
1996
Extended from
SGML
SGML
Type
Static
Dynamic
Usage
Processing/Rules
Language type
Presentation
Tags
Predefined
White Space
Limitations
Cannot be used as a
subtype of a sql_variant
instance.
Does not support casting
or converting to either
text or ntext. Does not
support the following
column and table
constraints. XML provides
its own encoding.
Collations apply to string
types only. Cannot be
compared or sorted.
Cannot be used in
Distributed Partitioned
Views. Not well supported
by browsers.
HTML was designed to display data - with focus on how data looks
By admin
July 11th, 2013
XML was developed to describe data and to focalize on what the data represent.
HTML was developed to display data about to focalize on the way that data looks.
HTML is about displaying data, XML is about describing information.
XML is extensible.
XML
XML
XML
XML
can
can
can
can
he root cause of the problem lies in HTML (Hyper Text Markup Language), the defacto standard for
web publication. The major problem with HTML is its fixed tagset. This tagset is mainly for display of
the content and HTML provides no tag to address the content precisely.
XML (extensible Markup Language) designed by W3C (World Wide Web Consortium) promises a
possible solution to this problem.
The major advantage of XML over HTML is its extensibility i.e., provision of user defined tags and
attributes to identify the structural elements of a document. XML also provides structural complexity to
define document structure that can be nested at any level of complexity.
XML also facilitates the transfer of structured data between servers. XML describes data, such as
city name, temperature and barometric pressure, while HTML defines tags that describe how the data
should be displayed, such as with a bulleted list or a table.
XML and HTML may similar in few features but they are different
1, The XML tags are not pre-defined , You can create tags according to your needs.
2, HTML is static and XML is dynamic.
3, XML is self descriptive.
4, XML is a case sensitive but HTML interpreters are very forgiving about missing end
tags but XML parse are not.
5, HTML was developed to display data, it concentrate on the way that data looks.
6, XML was developed to describe data, it concentrate what the data represent.
XML is not a substitute for HTML.
Download
College grants for students
Test
Name Search
Questions and answers
HTML
XML
static.
hence dynamic.
Advantages of XML
It supports Unicode, allowing almost any information in any written human language to be
communicated.
It can represent the most general computer science data structures: records, lists and trees.
Its self-documenting format describes structure and field names as well as specific values.
The strict syntax and parsing requirements make the necessary parsing algorithms extremely
simple, efficient, and consistent.
XML is heavily used as a format for document storage and processing, both online and offline.
It allows validation using schema languages such as XSD and Schematron, which makes
effective unit-testing, firewalls, acceptance testing, contractual specification and software
construction easier.
The hierarchical structure is suitable for most (but not all) types of documents.
It manifests as plain text files, which are less restrictive than other proprietary document
formats.
Forward and backward compatibility are relatively easy to maintain despite changes in DTD or
Schema.
Its predecessor, SGML, has been in use since 1986, so there is extensive experience and
software available.
Disadvantages of XML
The redundancy may affect application efficiency through higher storage, transmission and
processing costs.
XML syntax is too verbose relative to other alternative text-based data transmission formats.
No intrinsic data type support: XML provides no specific notion of integer, string, boolean,
date, and so on.
The hierarchical model for representation is limited in comparison to the relational model or an
object oriented graph.
XML namespaces are problematic to use and namespace support can be difficult to correctly
implement in an XML parser.
XML is commonly depicted as self-documenting but this depiction ignores critical ambiguities.