first apparition of an element

Subject: first apparition of an element
From: Olivier ROUSSEAU <nepo@xxxxxxx>
Date: Wed, 06 Aug 1997 09:45:00 +0200
How to see if an element is the first of its type.
For example i have:

<chapter>
<title>This is the title</title>
(<sub-title>this might the sub-title but is optional</sub-title>)
<para>this is the first paragraph</para>
<para>this is the second one</para>
...
</chapter<

And i would like to treat the first paragraph in a diferent way. I can't
use children-number because there might be one or two element before the
first para.

	thanks by advance

	Olivier ROUSSEAU
	nepo@xxxxxxx

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


Current Thread