Xatapult's XML Blog


Schema references

Filed under: How-to — xatapult @ 12:43
Tags: , ,

How do you associate a schema with an XML document? It’s easy but the details also easily forgotten. A summary and a how-to. (more…)



Schemas from DTDs: The root (element) of evil?

Filed under: Opinion — xatapult @ 13:32
Tags: , , ,

Once upon a time XML was born from SGML. And along with its birth came DTDs to define the document structure. Life was good. Everybody used to writing DTDs for SGML could keep doing so. And so they did…

But what happened? Newer and shinier methods for describing XML structures came along. W3C Schemas, Relax NG and others saw the light. Suddenly things that were impossible to do with DTDs became feasible: data typing, design modularization and many, many more. Wow! Suddenly you could really be strict about your document structure.

And so what happened in the ivory towers from which the gods send us their XML standards for us mere mortals to use? Where the standards accompanied by schemas in addition to the traditional DTDs? Yes, they were! Hurrah, a step forward. Now we can really and truly verify our documents.

But look closely. Are this schemas? Technically… yes. However they look an awful lot like DTDs. If I am not mistaken most of the DTDs are simply converted into schemas.

All right, so what? (more…)

Blog at WordPress.com.