3 Replies Latest reply on Feb 11, 2008 2:50 AM by HowardTreisman

    Using process variables in XPath

      I am trying to use a variable (/process_data/@Division) to identify an xml node to determine the person for a task:
      /process_data/DivisionRolesXML/divisions/division[Division='string(/process_data/@Division )' and Position='Div Executive']/LDAPId

      I get no value returned (e.g. result is 'null'). The log shows that @Division has a string value.

      It works if the actual value (not variable) is specified:
      /process_data/DivisionRolesXML/divisions/division[Division='division_name' and Position='Div Executive']/LDAPId

      Thoughts anyone ?