Subject: Re: Desperate Questions: [1]Absolute-Child-Number From: David Megginson <dmeggins@xxxxxxxxxx> Date: Tue, 24 Jun 1997 14:30:01 -0400 |
Paul Prescod writes: > > 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. Not quite, unless there's a typo in the standard: (element-number snl) Returns the number of elements before or equal to snl with the same gi as snl. This is great for numbering, say, chapters within a part: Part I Chapter 1 Chapter 2 Chapter 3 Part II Chapter 4 Chapter 5 Chapter 6 Where (child-number snl) would give you Part I Chapter 1 Chapter 2 Chapter 3 Part II Chapter 1 Chapter 2 Chapter 3 However, it does nothing for Eliot's problem. All the best, David -- David Megginson ak117@xxxxxxxxxxxxxxxxxxx Microstar Software Ltd. dmeggins@xxxxxxxxxxxxx University of Ottawa dmeggins@xxxxxxxxxx http://www.uottawa.ca/~dmeggins DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Desperate Questions: [1]Absolut, Paul Prescod | Thread | Re: Desperate Questions: [1]Absolut, David Megginson |
Re: Desperate Questions: [1]Absolut, W. Eliot Kimber | Date | Re: DD: One-week open season on Glo, Tony Graham |
Month |