2 Replies Latest reply on Mar 15, 2009 8:57 PM by (jacintha_mary)

    XML Rules in Indesign

      Hi all,

      I'm trying to use the XMLRuleProcessor for getting the elements directly by giving the x-path using Visual basic6.0.I have tried working on the below code,

      Set rulesProcessor = myIndesign.XMLRuleProcessors.Add(xpath)

      but its returning the error as,
      "Invalid value for parameter 'RulePaths' of event 'Add'. Expected Array of Strings, but received "//para".

      Then i have delcared the array as
      "Dim arr(5) as string"
      and passed the array value "xpath=arr(0)" but still i'm not able to solve this problem. I really don know what its expecting to give. Does Anyone has any idea about this?