Article View: adobe.scripting.indesign
Article #9604Read Text From a text file or an XML page
From: bank5
Date: Fri, 18 Aug 2006 17:43
Date: Fri, 18 Aug 2006 17:43
3 lines
1008 bytes
1008 bytes
I need to populate the TextFrames in my InDesign document with information from a database. I'm not sure what the best way to do this, but I was thinking about making an ASP script to store the data into a text file. I could then write a script for InDesign using javascript's file system object and read in the values from the text object. Does anyone know of a better/simpler way? I know InDesign has some XML capabilities but I don't know too much about it.
Technical Details
Message-ID:
<3bc14f71.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,27d66a90de05a2d3,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: bank5@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Read Text From a text file or an XML page Message-ID: <3bc14f71.-1@webcrossing.la2eafNXanI> Date: Fri, 18 Aug 2006 10:43:06 -0700 Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing