O'Reilly logo

XML and Java™ from scratch by Nicholas Chase

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

XML Schema

XML Schema is an initiative from the W3C that attempts to eliminate the problems with DTDs by replacing them with something better. XML Schemas are more flexible than DTDs, more powerful, and more familiar, as they use XML syntax.

As of this writing, the XML Schema has advanced to “Candidate Recommendation” status at W3C, but Xerces version 1.2.3 uses the April 7, 2000 draft, located at

http://www.w3.org/TR/2000/WD-xmlschema-1-20000407/

http://www.w3.org/TR/2000/WD-xmlschema-2-20000407/

and

http://www.w3.org/TR/2000/WD-xmlschema-3-20000407/

To begin converting our DTD to a schema, we'll create a third text file called products.xsd (for XML ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required