XML Schema: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 10: Line 10:


== Major components of XML Schema ==
== Major components of XML Schema ==
(to be written)
== Tools ==
=== Editors ===
* Most modern [[XML editor]]s can handle XML Schema
=== DTD to XSD Conversion tools ===
; Online
* [http://www.hitsw.com/xml_utilites/ Online XML Utilities] from HitSoftware let's you convert a DTD (and the other way round) online (free of charge)
; Free tools that need some installation skills
* [http://www.lumrix.net/dtd2xs.php dtd2x] Free Java class. End users can lauch the class through an HTML page (tested on win XP).
* [http://www.thaiopensource.com/relaxng/trang.html Trang] (written by James Clark). Multi-format schema converter based on RELAX NG. Multiplatform Java-based. (Tested, works).
* [http://www.w3.org/2000/04/schema_hack/ A Conversion Tool from DTD to XML Schema]. Needs Perl installed. A slightly different version is at [http://www.mathling.com/xmlschema/ Mary Holstege]s website. (I tested both and they seem to work).
== Links ==
* [http://www.schemavalid.com/faq/xml-schema.html XML Schema FAQ]


[[Category: XML]]
[[Category: XML]]
[[Category: Standards]]
[[Category: Standards]]

Revision as of 16:04, 27 February 2007

Draft

Definition

“XML Schema: Structures specifies the XML Schema definition language, which offers facilities for describing the structure and constraining the contents of XML 1.0 documents, including those which exploit the XML Namespace facility. The schema language, which is itself represented in XML 1.0 and uses namespaces, substantially reconstructs and considerably extends the capabilities found in XML 1.0 document type definitions (DTDs).”(XML Schema Part 1: Structures Second Edition)

“An XML Schema consists of components such as type definitions and element declarations. These can be used to assess the validity of well-formed element and attribute information items (as defined in [XML-Infoset]), and furthermore may specify augmentations to those items and their descendants.”(XML Schema Part 1: Structures Second Edition)

XML Schema is considerably more complex than the Document Type Definition (DTD) and less elegant than Relax NG

Major components of XML Schema

(to be written)


Tools

Editors

DTD to XSD Conversion tools

Online
  • Online XML Utilities from HitSoftware let's you convert a DTD (and the other way round) online (free of charge)
Free tools that need some installation skills
  • dtd2x Free Java class. End users can lauch the class through an HTML page (tested on win XP).
  • Trang (written by James Clark). Multi-format schema converter based on RELAX NG. Multiplatform Java-based. (Tested, works).

Links