XSL FO -Xpath - Retrieving

Hi,
    i am having a question in xsl-fo which also includes xsl i think..please anybody answer my questions if u could...
my xml is below.....i need to retrieve second-place2-all one nodes till the node second-place3-one node comes
then i have to give a page break there and retrieve the remaining second-place2-one nodes
and have to give a page break at the beginning of the next node second-place3-one node comes.....
 
any solution to this will be GREAT
<?xml version="1.0"?>
<main>     
<first>
 <place1>
  <one>werwr</one>
 </place1>
 <place1>
  <two>wrwr</two>
 </place1>
 <place1>
  <three>wrwr</three>
 </place1>
</first>
<second>
 <place1>
         <one>rwr</one>
 </place1>
 <place1>
        <two>wrwrwr</two>
 </place1>
 <place1>
        <three>wrwr </three>
 </place1>
 <place2>
  <one>wrrwr</one>
 </place2>
 <place2>
  <one>wrwrw</one>
 </place2>
 <place2>
  <one>wrwrwrwr</one>
 </place2>
 <place3>
         <one>wrwr</one>
 </place3>
 <place3>
        <one>52525</one>
 </place3>
 <place3>
        <one>252</one>
 </place3>
 <place3>
        <one>sgf25</one>
 </place3>
 <place2>
  <one>23525f</one>
 </place2>
 <place2>
  <one>geg235</one>
 </place2>
 <place2>
  <one>252525</one>
 </place2>
 <place3>
        <one>fsf342</one>
 </place3>
 <place3>
        <one>245235</one>
 </place3>
 <place3>
        <one>5252</one>
 </place3>
</second>
</main>

Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.

Received on Wednesday, 19 November 2003 12:57:16 UTC