Largest online store
Friday, December 20, 2019
XML Schema Definition - XSD
Populele 2 23 Inch 4 Strings USB APP Control Smart Ukulele with Popubag from Xiaomi youpin - White only $128.99
Short for
X
ML
S
chema
D
efinition
, a way to describe and validate data in an
XML
environment. (A
schema
is a model for describing the structure of information.) XSD is a recommendation of the
W3C
.
XSD has advantages over earlier XML schema languages, such as
DTD
. Because XSD is written in XML, there is no need for a parser. XSD defines a richer set of
data types
such as booleans, numbers, dates and times, and currencies -- which is invaluable for e-commerce applications. DTDs, on the other hand, express data types as explicit enumerations, which makes validation much more difficult and less accurate.
More important, XSD makes it easier to validate documents based on
namespaces
(used to qualify element and attributes names by associating them with namespaces identified by
URI
references. Namespaces prevent identically custom-named
tags
that may be used in different XML documents from being read the same way), something DTDs cannot do.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment