🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.incopy.scripting
Article #5

Help wih scripting: tagging and exporting XML from InCopy

#5
From: Dean_Burchell
Date: Tue, 21 Nov 2006 23:15
12 lines
1356 bytes
I am an InCopy scripting newbie and I am trying to replicate a process for converting InCopy documents to XML that we currently do by hand. The process is essentially:

1. Open .incx document
2. Choose "Map Styles to Tags" in the "Tags" pallette menu
3. Click on the "Load" button (choose the InDesign doc with the matched tags/styles)
4. Export XML

I can setup a scrip to load the tags from the InDesign doc with mapped styles but I can't seem to find the neceessary sytax for the magical "Map Styles to Tags" function

Any suggestions? It's so frustrating since the user interface contains all the pieces I need but I can't access them directly.

Thanks in advance.
Technical Details
Message-ID: <3bc259bc.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsout01.versatel.de!newsin01.versatel.de!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe4a,797379be88f699fd,start
X-Google-Attributes: gid1efe4a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dean_Burchell@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsout01.versatel.de!newsin01.versatel.de!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossing
Newsgroups: adobe.incopy.scripting
Subject: Help wih scripting: tagging and exporting XML from InCopy
Message-ID: <3bc259bc.-1@webcrossing.la2eafNXanI>
Date: Tue, 21 Nov 2006 15:15:47 -0800
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit