When creating a large XML document, you might need to declare and use more than one namespace. The following example shows the declaration of two namespaces:
<Car xmlns:addr="http://www.mysite.com/address"
xmlns:inv="http://www.mysite.com/invoice">
The declaration creates two prefixes, addr and inv. Elements can be prepended with either of these prefixes.
|