XPath Behavior When Changing Default Namespace

(Doc ID 340801.1)

Last updated on FEBRUARY 03, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.1 - Release: 9.2 to 10.2
Information in this document applies to any platform.

Goal

How to retrieve node values with prefixed and non prefixed namespaces.

This is of use when modifying the default namespace of an XML document without using prefixing.

By default Oracle starts with an assumption that all XML is in the LOCAL namespace.

Below are steps to demonstrate how to change from defaultnamespace to a named namespace (both prefixed and non-prefixed).

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms