XSLT StyleSheet XML Tutorial

File: Data.xml

  A
  B

File: Transform.xslt
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
  
      doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
  
    
      
        <br/>          <xsl:value-of select="name()" /><br/>        
      
      
        
          
        

        
          
        

      
    
  

Output:

  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

   
      name
   
   
      A
      B