Article View: adobe.scripting.indesign
Article #8225Need script to delete XML elements
From: Scott25
Date: Tue, 24 Oct 2006 22:02
Date: Tue, 24 Oct 2006 22:02
3 lines
824 bytes
824 bytes
I am looking for a javascript which will delete a given element and all of its content (regardless of where or how many times it appears) from the XML structure of my document. I know I could accomplish this via XSLT outside of Indesign, but I hoping to avoid that step. Thanks!
Technical Details
Message-ID:
<3bc211e1.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.isoc.lu!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,a0e566cee81b548b,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Scott25@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Need script to delete XML elements Message-ID: <3bc211e1.-1@webcrossing.la2eafNXanI> Date: Tue, 24 Oct 2006 15:02:53 -0700 Lines: 6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.isoc.lu!news.stben.net!webcrossing