xsl-list
[Top] [All Lists]

[xsl] Filtering out nodes between bookmarks

2008-02-26 11:42:29
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>