Re: Desperate Questions: [1]Absolute-Child-Number

Subject: Re: Desperate Questions: [1]Absolute-Child-Number
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Tue, 24 Jun 1997 13:28:46 -0500
At 02:16 PM 6/24/97 -0400, Paul Prescod wrote:
>> I need the ordinal position of %element%'s parent within the children
>> property of its parent.  For example, the HyTime standard has this
structure:
>
>DSSSL calls this "element number" and there is a procedure called 
>"element-number" that returns it.

That's not what the spec says:

   "(element-number snl)

   Returns the number of elements before or equal to snl with the same gi
as snl."

Note the "same gi as".  Returns the same value as child-number.

I agree that you might expect element-number to return what I need, but the
spec doesn't say that and Jade doesn't do it.

Cheers,

E.


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


Current Thread