Namespaces with XML Vocabularies

One goal of XML is to further facilitate the exchange of information; therefore, it makes sense that most XML documents will be designed to be shared with other users, be they developers, designers, or so on. This is why there are so many XML vocabularies currently being developed, ranging from MathML to SVG. One feature all these vocabularies have in common is their own unique Namespaces associated with them.

Having a Namespace associated with a vocabulary is a good way to assist users in using your vocabularies. For example, it may be desirable to mix and match different vocabularies within a single XML document. For instance, if you are writing a paper for submission to a mathematics journal, you might have ...

Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.