Re: ancestor evaluation in Jade SGML transforms (newbie query)

Subject: Re: ancestor evaluation in Jade SGML transforms (newbie query)
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Thu, 22 Apr 1999 12:15:38 -0400 (EDT)
[Kim Plofker]
> I'm using Jade for an SGML->SGML transformation that's supposed to
> assign an attribute to the current node based on whether _any_
> ancestor of that node has a particular value of a particular
> attribute; and I'm stumped.  I can successfully use the "ancestor"
> function to perform this test on the nearest ancestor with a
> particular GI, as follows:

Kim,

You want (inherited-attribute-string) or (inherited-element-attribute-
string).  See §10.2.4.3 of DSSSL.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread