[xsl] Filtering out nodes between bookmarks

Subject: [xsl] Filtering out nodes between bookmarks
From: Michael Daniloff <mdanilof@xxxxxxxxx>
Date: Tue, 26 Feb 2008 10:41:56 -0800 (PST)
What is the best approach to remove any nodes between
2 marker elements matching by their id attributes?

<root>
 <body>
  <para>
  ....
  </para>

  <para>
   <bookmarkStart id="1"/>
  ....
  </para>

  <para>
  ....
  </para>

  <table>
  ...
  </table>

  <bookmarkEnd id="1"/>

  <para>
  ....
  </para>

 </body>
</root>

Sorry for the incomplete xml fragment, but those
bookmarks could be pretty much anywhere in hierarchy.

Thanks,

Michael


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Current Thread