🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8108

Re: untag untags too much

#8108
From: Andrew_Sandley
Date: Fri, 03 Nov 2006 22:26
19 lines
1253 bytes
although, once again, and as much as I hate to say it because wouldn't it be nice if things would Just Work in InDesign, it's an easy fix if you can add an XSLT filter to your import workflow..



<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:template match="node() | @*"> 
    <xsl:copy> 
        <xsl:apply-templates select="@* | node()"/> 
    </xsl:copy> 
</xsl:template>

<xsl:template match="ElementToStripOne | ElementToStripTwo"> 
    <xsl:apply-templates /> 
</xsl:template>

<xsl:template match="ElementToRemoveOne | ElementToRemoveTwo" />

</xsl:stylesheet>
Technical Details
Message-ID: <3bc22c96.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.germany.com!news.datemas.de!news.albasani.net!news.isoc.lu!webcrossing
References: <3bc22c96.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b9c8bbaf8da8c807,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Andrew_Sandley@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.germany.com!news.datemas.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: untag untags too much
Message-ID: <3bc22c96.1@webcrossing.la2eafNXanI>
Date: Fri, 3 Nov 2006 14:26:57 -0800
References: <3bc22c96.-1@webcrossing.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit