What is XML Namespace?


XML Namespace: An abstract container for various items; each item within a namespace has a unique name, but the namespace allows disambiguation of items with the same name that are in different namespaces.

The XML Namespace (xmlns) Attribute

The XML namespace attribute is placed in the start tag of an element and has the following syntax:


When a namespace is defined in the start tag of an element, all child elements with the same prefix are associated with the same namespace.

Note: The parser does not use the address (URL) value ( which is used to identify the namespace information). The only purpose is to give the namespace a unique name. The URL is not a valid endpoint as such… it is just a qualifier. However, very often companies use the namespace as a pointer to a real Web page containing information about the namespace. Try to go to http://www.w3.org/TR/html4/.


This entry was posted in BPEL, Oracle Service Bus (OSB), Service Oriented Architecture (SOA 11g), XML and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s