|
|
Compare
DTD with schema in XML
An
XML document can be validated against a schema or a DTD. The schema or
the DTD defines how the elements in the XML document should be organized
within the XML document. If you compare the DTD with the Schema, the schema
has more advantages over DTD. So it is better to use a schema in the place
of a DTD.
_______________________________________________
_______________________________________________
A
DTD can have two types of data in it, namely the CDATA and the PCDATA.
The CDATA is not parsed by the parser whereas the PCDATA is parsed. In
a schema you can have primitive data types like you have used in programming.
String, integer,
floating point numbers and even data types like country codes and languages
can be used if you are using a schema. Since most of the latest technologies
like web services, and XSLT are based on the schema, it is wise to adopt
the schema instead of the DTD.
Apart from
the primitive data types you use, you can also create custom data types
based on the primitive data types according to your requirements.
Software supports editing inside ZIP-based packages. (ThomasNet) Oxygen XML Editor and Oxygen XML Author v9.3 offer support for editing, transforming, and validating documents composing Office Open XML package directly through archive support. Users can extract, validate, edit, and process XML data stored in OpenDocument files, enabling use of data from ODF documents together with validation and transformations to other file formats. With Compare Directories ... Recent Original Stories (New Mobile Computing) Learn XML schemas that provide solutions for all sorts of problems, from the basics of Web services to data description. Also, cover database-like solutions that involve contacts and invoices.
FREE
Subscription
Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.
Note
: We never rent, trade, or sell my email lists to
anyone.
We assure that your privacy is respected
and protected.
_______________________________________
Recommended
XML Books
|
|
| FREE
Subscription Stay
Current With the Latest Technology Developments Realted to XML. Signup for Our
Newsletter and Receive
New Articles Through Email. Note
: We never rent, trade, or sell our email lists to anyone. We assure that
your privacy is respected and protected.
|
|