cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a property of node from XML which sent by PCO to MII transaction?

former_member363958
Discoverer
0 Kudos
477

Hi,

Now one XML sent by pco to MII transaction ,its content is as below :

[Transaction: 758] UserEvent : Input:<?xml version='1.0' encoding='UTF-8'?><NotificationMessage><Header><Name>NOT2</Name><Description><![CDATA[]]></Description><Destination>mii2</Destination><CreatedDate>2019-01-17T08:16:03</CreatedDate><ID>5a74e127-9a45-492a-be5b-50eb894b19f7</ID><Status>Delivered</Status></Header><Body><Values><Output0 type="xsd.short" quality="Good" timeStamp="2019-01-17T08:16:03.7401799Z"><![CDATA[138]]></Output0><Output1 type="xsd:boolean" quality="Good" timeStamp="2019-01-17T08:15:55.6437657Z"><![CDATA[1]]></Output1></Values></Body><Faults /></NotificationMessage>,,1.2. RETMess:

Now I want to get the property 'timeStamp' of node 'Output0', how can i achieve that?

Ivan

Accepted Solutions (1)

Accepted Solutions (1)

former_member185280
Active Contributor

The link editor is based on Xpath so you could use the @ symbol to read a node attribute.

Transaction.Input{/NotificationMessage/Body/Values/Output0/@timeStamp}

Answers (0)