Skip to Content
0
Jan 25, 2017 at 08:18 AM

XPATH Expression in General Splitter

1610 Views Last edit Jan 25, 2017 at 08:21 AM 2 rev

Hi Experts,

I have the following XML

<root>
	<element>
		<url>https://www.google.com</url>
		<status>NOTOK</status>
	</element>
		<element>
		<url>https://www.facebook.com</url>
		<status>OK</status>
	</element>	
</root>

And I would like to use the following XPath Expression (/root/element[status/text() = 'OK']/url) in the General Splitter

However, I'm getting an error about the limitation of the XPath Expression.

I also tried using Header and Property from Content Modifier but I'm still getting the same problem.

Is there any workaround for this aside from the split in Message Mapping?

Thanks!

Attachments

xpath.png (15.0 kB)
error.png (4.2 kB)