XSLT StyleSheet XML

File: Data.xml

  
    A
    B
    2008-12-12
  

  
    C
    D
    2008-11-11
  

  
    E
    F
    2008-10-10
  


File: Transform.xslt
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
    
      
        this is the title
      
      
        

header 3


                  select="/Employees/Person[1]/FirstName" />
      
    
  
  
    
      
        
        which contains the text "
        
        ".
      

    
  

Output:

   
      
      this is the title
   
   
      

header 3


      LastName
                 which contains the text "
                 B
                 ".
               
      

      DateOfBirth
                 which contains the text "
                 2008-12-12
                 ".
               
      

      Person
                 which contains the text "
                 
             C
             D
             2008-11-11
           
                 ".
               
      

      FirstName
                 which contains the text "
                 C
                 ".
               
      

      LastName
                 which contains the text "
                 D
                 ".
               
      

      DateOfBirth
                 which contains the text "
                 2008-11-11
                 ".
               
      

      Person
                 which contains the text "
                 
             E
             F
             2008-10-10
           
                 ".
               
      

      FirstName
                 which contains the text "
                 E
                 ".
               
      

      LastName
                 which contains the text "
                 F
                 ".
               
      

      DateOfBirth
                 which contains the text "
                 2008-10-10
                 ".