xml - XPath context is not available in linked flow -


i have 2 flows 1. main-flow.xml 2. linked-flow.xml

the linked flow called using vm queue. when try use xpath expression @ main flow, working fine. however, @ linked flow, xpath not available.

tried after adding mule namespace definition in both flows, still not working.

i have verify, xml node, whether present or not.

<root>   <child1>value1</child1>   <child2>     <child3>       <child4>value4</child4>     </child3>   </child2> </root> 

need check, if node node3 present or not.

to test whether node exists or not, can use boolean logic :

boolean(/root/child2/child3) 

or if mule namespace exists :

boolean(/mule:root/mule:child2/mule:child3) 

Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -