Article View: adobe.scripting.indesign
Article #556XML Rules in Indesign
From: jacintha_mary
Date: Sat, 14 Mar 2009 09:03
Date: Sat, 14 Mar 2009 09:03
16 lines
1169 bytes
1169 bytes
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, xpath="//para" 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? Thanks, Jacintha.
Technical Details
Message-ID:
<59b83540.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,12560550b6b2683,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: jacintha_mary@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: XML Rules in Indesign Message-ID: <59b83540.-1@webcrossing.la2eafNXanI> Date: Sat, 14 Mar 2009 02:03:23 -0700 Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit