🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #1488

Conditional formating based on child element

#1488
From: Carlos_Andreotti
Date: Fri, 21 Jul 2006 19:39
15 lines
1080 bytes
Hi,

I'm developing an EDD to format a book that is originally in XML and I'm having a problem with an specific condition:

I have the following tree:

P_AREA
   p_content
      p_variation

and need to write a routine on the EDD under the p_content element to place a paragraph style on p_content only if p_variation exists.

I tried to use the Sibling conditionals but it seems to work only if the p_content and p_variation were on the same level, that is both are child of P_AREA.

thank you
Technical Details
Message-ID: <3bc0ff17.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,df1e4d00f12a0903,start
X-Google-Attributes: gidfcc08,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Carlos_Andreotti@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Conditional formating based on child element
Message-ID: <3bc0ff17.-1@webcrossing.la2eafNXanI>
Date: Fri, 21 Jul 2006 12:39:59 -0700
Lines: 19
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.ispa.de!news.ecp.fr!news.stben.net!webcrossing