
Listing 4.5: continued
<qa-rating>5 stars</qa-rating>
<pa-rating>G</pa-rating>
<name>Fatbrain.com</name>
<link href=”http://www.fatbrain.com”/>
<qa-rating>4 stars</qa-rating>
<pa-rating>G</pa-rating>
<name>ABC News</name>
<link href=”http://www.abcnews.com”/>
<qa-rating>3 stars</qa-rating>
<pa-rating>PG</pa-rating>
</references>
Namespaces
The problem outlined in the previous example is… the extensible character
of XML. There is no way to prevent somebody from extending a document
in a way that is incompatible with other works. That’s the nature of exten-
sibility. Because anybody can create tags, there is a huge risk of conflicts.
One solution to prevent conflicts ...