Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> another Oracle XPATH question

another Oracle XPATH question

From: Bjrn Drr Jensen <B.D.Jensen_at_gmx.net>
Date: Sat, 18 Mar 2006 17:27:50 +0100
Message-ID: <001601c64aa8$e6521ce0$6701a8c0@camelopardalis>


Hi!
Is there some solution for what Martin is asking about
"But, I need to be able to handle the situation where the namespace prefix
"x"

changes, (but of course the namespace itself is constant), i.e.

<y:a xmlns:y="x.y.z">10</y:a>

The trouble is that the XPath expression still references x:a. Is it possible to define an xpath expression which effectively extracts the /a
but in namespace "x.y.z" regardless of prefix, in such as way that I don't have
to "pre-process" the XML to work out what the prefix(es) are?

Other languages allow you to physically specify the namespace against the
"x.y.z" URI, but the XMLTYPE methods

don't seem to?"

Her the link:
http://asktom.oracle.com/pls/ask/f?p=4950:8:5223399136315388509::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:4183611736648

I have the same problem and was unable to find an solution in the documentation (Says that something about the documentatio or about me ;^) Greetings
Bjoern

--
http://www.freelists.org/webpage/oracle-l
Received on Sat Mar 18 2006 - 10:27:50 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US