[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]