This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] help needed for recipe for selecting elements by attributes
- From: Mike Haberman <mikeh at ncsa dot uiuc dot edu>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 26 Sep 2003 08:51:53 -0500
- Subject: [docbook-apps] help needed for recipe for selecting elements by attributes
Hello all,
let's say I have this:
<para > </para>
<para > </para>
<para role="one"> </para>
<para > </para>
<para role="one"> </para>
<para role="one"> </para>
now when I am processing a <para> I want to see if it is the first
para with role == "one"
(let* (p (select-elements (children (parent (current-node))) "para"))
now I need to test if current-node is equal to the first
node in list p that has it's role set to "one"
can anyone help me?
thanks!
mike
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.