The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Recommended Posts

Posted

Remove namespace from XML. I want to remove additional namespace from my input xml

 

 

 

hkd

 

 

Now I want value of 'd tag . How to get it with XPath expression I dont want to use JAVA code.

 

Has anybody tried Catalog function XPath.executeWithEvent() in BE

Posted

Hi The solution to your problem is attached as BE project.

Well the synopsis is

String functionVal = XPath.execute("$var//ns0:Message/ns0:Payload/ns1:GetMeterReadings/ns1:MeterReadings[1]/ns1:Meter/ns1:Names[ns1:NameType/ns1:name=functionalValue]/ns1:name/text()",meterRead@payload,"ns0=

Posted
You can use XPath for parsing. However note, it has a performance overhead, when either many XPath executions are called or a huge XML is to be parsed. So use it wisely, one example, would be to break it into small parts in a pre-processor and convert them to events and pass them for further processing.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...