1 Reply Latest reply on Jun 25, 2012 3:36 AM by $Nith$

    Possible to combine multiple /process_data/

    tgsoft

      Hi,

       

      I cannot seem to find a way around this challenge. No documentation to find so hope one of your clever heads have solved it. bring it

       

      I want to create a combined Xpath expression with multiple variables. Right now I have to hardcode a value I have in a varible, to make it work - and it is that I want to solve. The expression will grab a xml record in a larger xml structure.

       

       

      works:

      /process_data/xmlRecordsFormData/formDataRecords/LC_KOMA001[number(//@iCnt)]

       

      But:

      The value='LC_KOMA001' is a changing formTemplate-name, that I have allready stored in a variable= sFormTemplate

       

      So want to do something like:

      /process_data/xmlRecordsFormData/formDataRecords//process_data/@sFormTemplate[number(/process_data/@iCnt)]

       

      I do not know how to create the right syntax for this to work. I really need your help.

       

       

      Thanks in advance

      /Thomas