Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

retrieving element & attribute values directly

3351Jun 18 2003 — edited Jun 19 2003
Hi All

We are using 817 db & have the latest plsql xdk installed
We are currently using the plsql dom parser
This is my xml content.

<transactflex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="D:\Interface\Schemas\1408.xsd">
<header codtran="1408">
<dummy>String</dummy>
</header>
<sourceappcode>IWDW</sourceappcode>
<RqUID>101</RqUID>
<txndata>
<accountdtls accountno="000000000000"/>
<glaccountdtls glaccountno="000000000" glccycode="0" glccyrate="3.1415926535897932384626433832795"/>
<amount>3.14159265358979</amount>
<referenceno>Text</referenceno>
<narrative>String</narrative>
</txndata>
</transactflex>

Referring to the above is there any way where i can directly refer to the element or attributes & retrieve
the corresponding values
something like this \transactflex\RQUID
& retrieve the value for the element RQUID

& retrieve attribute values by mentioning something like this
\transactflex\txndata\accountdtls\accountno.

Regards
Sushant
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 17 2003
Added on Jun 18 2003
1 comment
226 views