ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jackson, Douglas" <djack...@ugs.com>
Subject RE: xpath query has no effect during copy
Date Fri, 17 Aug 2007 13:50:32 GMT

Hi!
I don't know if what you were writing is some new 2.0 syntax or not, but
in 1.0 you would write it like this:

<to variable="input" part="msg" query="//*[node()='level1']"/>
-Doug.

-----Original Message-----
From: jbi joe [mailto:joe@daggerpoint.net] 
Sent: Friday, August 17, 2007 5:21 AM
To: user@ode.apache.org
Subject: xpath query has no effect during copy


MY XML INPUT TO BPEL

<msg>
<level1>
<key>name</name>
<value>foo</value>
</level1>
<level2>
...
..
</level2>
</msg>

<assign>
<copy insert="after">
<from>'hardcode xml value=<key>address</address>'</from>
<to variable="input" part="msg"> 
</to>
<query>//*[node()='level1']</query>
</assign>

ALWays clobbers my entire xml between the <msg> node and inserts the
aboutve
value.
Anyone tell me what I have wroing?
TIA

-- 
View this message in context:
http://www.nabble.com/xpath-query-has-no-effect-during-copy-tf4284882.ht
ml#a12197226
Sent from the Apache Ode User mailing list archive at Nabble.com.


Mime
View raw message