|
Subject: "aunt" attributes From: John Fieber <jfieber@xxxxxxxxxxx> Date: Sun, 13 Apr 1997 15:14:46 -0500 (EST) |
A question from a dsssl newbie.
Given a bit of a document:
ROOT -- CHAPT -- COMM -- P
| |- P
| +- P
|
[a2] |- COMM -- P
| |- P
| +- P
|
[a1] |- COMM -- P [1]
| |- P
| +- P
|
+- COMM -- P
|- P
+- P
In the construction rule for [1] (or any P), I want to know if
the value of a particular attribute of COMM [a1] is equal to the
same attribute of its previous sibling [a2].
How can I do this in jade (0.6)? Digging in the DSSSL spec, it
looks a comparison between
(attribute-string "myatt" (parent (current-node)))
and
(attribute-string "myatt" (preced (parent (current-node))))
should do about what I'm after, but preced isn't implemented and
I'm not expert enough to make it work.
Thanks,
- -john
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Jade and TeX, Sebastian Rahtz | Thread | "aunt" attributes, Tony Graham |
| Jade and TeX, Paul Prescod | Date | "aunt" attributes, Tony Graham |
| Month |