O'Reilly logo

RSS and Atom by Heinz Wittenbrink

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

Appendix A. Appendix

A.1 Reference: XML Namespaces

The namespace mechanism is considered complicated, but wrongly so, because it is based on a simple principle to clearly allocate names that are used in a XML document to a particular XML vocabulary. This vocabulary forms the "namespace," which includes the names that refer to it.

In an XML document, names are used for elements and attributes. The name of an element is placed between the angle brackets of the tags; the attribute name is placed within the tags in front of an equal sign. Consider the following example:

<?xml version="1.0"?>
<feed version="0.4>
<head></head>
</feed>

Here, feed and channel are the names of two elements. (It is not correct to talk about a feed or head tag, if the whole ...

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