Showing posts with label xml with name value pair. Show all posts
Showing posts with label xml with name value pair. Show all posts

Saturday, November 10, 2012

XML with Name-Value Pair

To retrieve the value from name-value pair xml as presented below -


<Parameters>
  <Item>
    <Name>Guid</Name>
    <Value>20101130121706</Value>
  </Item>
  <Item>
    <Name>Timestamp</Name>
    <Value>20101130121604</Value>
  </Item>
  <Item>
    <Name>TimeofArrival</Name>
    <Value>20101130161705</Value>
  </Item>
  <Item>
    <Name>Part</Name>
    <Value>20101130161236</Value>
  </Item>
  <Item>
    <Name>SiteID</Name>
    <Value>1520537</Value>
  </Item>
</Parameters>

Use the xpath - /Parameters/Item[Name='Guid']/Value

Demystifying OIC, OCI and Oracle SOA CS

What is OIC (Oracle integration cloud), OCI (Oracle cloud infrastructure), and SOA cloud service and how they are different? - This has bee...