Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> another Oracle XPATH question
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-lReceived on Sat Mar 18 2006 - 10:27:50 CST
![]() |
![]() |