3 Replies Latest reply: Feb 15, 2013 3:49 AM by Anuj Dwivedi--Oracle RSS

    xPath values not identifying payload attributes

    Bruno Neves Alves

      I'm having an issue with xPath expressions against XML attributes.

      The document that I'm trying its able to successful identify the document using:

      xPath expression: //*/@StandardMessageIdentifier
      Indetification Value: XPTO

      when the message is:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <Envelope Recipient="erde" Sender="dada"
      <StandardMessageIdentification MessageTypeVersionNumber="2"

      But I'm not able to get other values using xPath like:

      xPath Name 1: Version
      xPath Expression 1: //*/@MessageTypeVersionNumber

      I have alrady tried with different combinations like:


      When I use xPath over an element instead of going to an attribute it works.

      seems that for xPath values its not running the same mechanism as for document identification.

      Someone ?