Skip to Content
avatar image
Former Member

Passing XPATH in Module

Hi All

How to pass XPATH as an module parameter in ADAPTER MODULE.

Please tell me the steps and code if necessary

Regards

Abhishek Mahajan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 12, 2008 at 08:47 AM

    Can u share ur exact requirement. What exactly would you like to pass?

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Prateek

      The requirement is that I have to pass amount as XPath to module.

      I have done the same using this

      String amountTotal = moduleContext.getContextData("XPATH");

      is that fine now using this I have to calculate the sum of the value in the field passed as the module parameter.

      Could you help me on the same moreover how can I calculate the total number of records in the file using module.

      Regards

      Abhishek Mahajan

      Thanks alot