[
next
] [
prev
] [
prev-tail
] [
tail
] [
up
]
5.5
XML Namespaces
A
XML Namespace
is a collection of element types and attribute names idendtified by a URI.
Namespaces help keep apart different markup vocabularies.
The reserved attribute ‘
xmlns
’ is designated for assigning namepaces to elements (and their descendants).
<?xml version="1.0" encoding="UTF-8"?>
<
oranges
xmlns="fruit://osu/or" at="1">
<
statement
at="2"/>
<
apples
xmlns="fruit://osu/ap" at="3">
<
statement
at="4"/>
</
apples
>
<
statement
at="5"/>
</
oranges
>
[
faq
]
[
next
] [
prev
] [
prev-tail
] [
front
] [
up
]