Article View: adobe.scripting.indesign
Article #2214Persistent XML object?
From: PFD
Date: Tue, 06 Jan 2009 14:39
Date: Tue, 06 Jan 2009 14:39
11 lines
1663 bytes
1663 bytes
I'm thinking of writing a script which will be called from a C++ plugin. The script will be called repeatedly, and will update an XML structure that will eventually be written to a file. Is there some way to create a persistent XML structure that can be passed to the script each time it's called from the plugin, and modified by the script? I know I could write the whole XML doc to a file and read it back each time, but that seems too expensive. Thanks, -pd
Technical Details
Message-ID:
<d1a733f5-503f-48ba-824c-6d5788c59b5e@40g2000prx.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!40g2000prx.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,53e94fbe9824da41,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!40g2000prx.googlegroups.com!not-for-mail From: PFD <pdavis.pageflex@gmail.com> Newsgroups: adobe.scripting.indesign Subject: Persistent XML object? Date: Tue, 6 Jan 2009 06:39:22 -0800 (PST) Organization: http://groups.google.com Lines: 12 Message-ID: <d1a733f5-503f-48ba-824c-6d5788c59b5e@40g2000prx.googlegroups.com> NNTP-Posting-Host: 66.150.206.225 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1231252762 16637 127.0.0.1 (6 Jan 2009 14:39:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 6 Jan 2009 14:39:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 40g2000prx.googlegroups.com; posting-host=66.150.206.225; posting-account=bvh45QoAAADSBAyo2WJ2isUDSW-UAyEn User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1,gzip(gfe),gzip(gfe)