Article View: adobe.scripting.indesign
Article #9417[CS] Scripting XML Tag and Attribute application
From: Greg_Gaspard
Date: Fri, 18 Aug 2006 20:23
Date: Fri, 18 Aug 2006 20:23
1 lines
1148 bytes
1148 bytes
Is there a way I can, given a selected range of text, apply a specific tag, attribute name and attribute value by a script? I've got a situation where I'm using a fairly limited DTD that cannot be expanded, so I've got many items that must be tagged with <tag class = "xxx">. I've got at least 12 different classes to apply. Can ID CS help to automate this process and eliminate error from mistyped attribute names or values? (Map Styles to Tags won't work because there's already block structure in place, and some of these instances use the same character style for different purposes.)
Technical Details
Message-ID:
<3bc14ff6.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,bc84c7fe0d57d424,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Greg_Gaspard@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: [CS] Scripting XML Tag and Attribute application Message-ID: <3bc14ff6.-1@webcrossing.la2eafNXanI> Date: Fri, 18 Aug 2006 13:23:43 -0700 Lines: 9 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!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing