In Trying To Get The N'th XML-element In An eInsight Script, The Object ID Is Returned Instead Of Its Value (Doc ID 1368830.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Sun Schema Runtime Environment (SRE) - Version: 5.0.5u1 to 5.0.5u2 - Release: 5.0 to 5.0
Information in this document applies to any platform.

Symptoms

In trying to get the n'th XML-element in an eInsight script, the object ID is returned instead of its value.

For example, the expression is:

NaechsterBuchungstag =
eBPM.get("Buchungstage","//Buchungstag["+Counter+"]/text()");

and the xml data is:


<?xml version="1.0" encoding="ISO-8859-1"?>
<Buchungstage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<Buchungstag>01-05-2011</Buchungstag>
<Buchungstag>02-05-2011</Buchungstag>
<Buchungstag>03-05-2011</Buchungstag>
<Buchungstag>04-05-2011</Buchungstag>
<Buchungstag>08-06-2011</Buchungstag>
</Buchungstage>

Where the Counter is a number with first value 1.

Changes

N/A

Cause

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