Article View: adobe.scripting.indesign
Article #2226Re: Persistent XML object?
From: PFD
Date: Tue, 06 Jan 2009 22:03
Date: Tue, 06 Jan 2009 22:03
18 lines
2024 bytes
2024 bytes
On Jan 6, 9:39ย am, PFD <pdavis.pagef...@gmail.com> wrote: > 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. Well, it appears that I can do this as simply as invoking the session engine with #targetengine "session" and that I can even create my own persistent engine with #targetengine "whatevernameiwant"
Technical Details
Message-ID:
<3a08a15e-b7cf-48f1-8855-0b449056626f@r27g2000vbp.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!r27g2000vbp.googlegroups.com!not-for-mailReferences:
<d1a733f5-503f-48ba-824c-6d5788c59b5e@40g2000prx.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,53e94fbe9824da41 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!r27g2000vbp.googlegroups.com!not-for-mail From: PFD <pdavis.pageflex@gmail.com> Newsgroups: adobe.scripting.indesign Subject: Re: Persistent XML object? Date: Tue, 6 Jan 2009 14:03:49 -0800 (PST) Organization: http://groups.google.com Lines: 19 Message-ID: <3a08a15e-b7cf-48f1-8855-0b449056626f@r27g2000vbp.googlegroups.com> References: <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: quoted-printable X-Trace: posting.google.com 1231279429 25087 127.0.0.1 (6 Jan 2009 22:03:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 6 Jan 2009 22:03:49 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r27g2000vbp.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)