You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Edierley Messias <ed...@dcc.ufmg.br> on 2001/01/11 14:54:28 UTC
Following text
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Really thanks for your suggestion Michael and Dimitre.
I think that I wrote my DOM tree very simple, what I want to do
is find any <br/> element that has the concatenation of the text
of the preceding-sibling:: type <b> and text < 150. like the tree below.
00:<master_root>
01: text greater than 150<br/>
02: text less than 150<br/>
03: <paragraph>
04: text less than 150 <br/>
05: text greater the 150<br/>
06: text <b>with b element</b> less than 150<br/>
07: <section>
08: text <b>with b element</b> less than 150<br/>
09: text <b>with b element</b> greater than 150<br/>
10: </section>
11: </paragraph>
12: text <b>with b element</b> less than 150<br/>
13: text <b>with b element</b> greater than 150<br/>
14: text <b>with b element</b> less than 150
15:</master_root>
The lines that matches will be 02 04 06 08 and 12
Any ideas?
Thanks in advance.
Edierley Messias
www.dcc.ufmg.br/~edierley
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
_________________________
Edierley Messias
www.dcc.ufmg.br/~edierley
icq 32943484