Xpath XML Tutorial

File: Data.xml


   
      Java
      
         Getting Started with Microsoft Visual C++ 
      

   

  

File: Transform.xslt

  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    First subject following "Java" is
          select="//subject[. = 'Java']/following-sibling::subject[ 1 ]" />