1 Reply Latest reply on Feb 15, 2013 10:02 AM by Anuj Dwivedi--Oracle

    xPath document identification

    Bruno Neves Alves
      Hi guys.

      I need to be able to use xPath expression to identify booth version and document type like:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <Envelope xmlns="http://www.example.com/B2B">
      <MessageIdentification VersionNumber="2"

      Basically we can have more than one version of the same document type and we want to be able to diferenciate them.

      Something like:

      Identification Expression (XPath): //*/@MessageType="ZZZ" and //*/@VersionNumber="2"

      Already tried.

      Is there a way to assert against two values on document type identification ?

        • 1. Re: xPath document identification
          Anuj Dwivedi--Oracle
          Already B2B identifies both doc type and version on the basis of identification xpath (for inbound case only). Just make sure to provide unique identification xpath and/or value for each document definition and it should work.

          You may like to refer section "8.1.1 How to Configure the XPath Expression for a Custom XML Document" at -