XSLT StyleSheet XML

File: Data.xml


  title
  A
  
    C
    B
    C
    D
  


File: Transform.xslt

  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  exclude-result-prefixes="xs" version="2.0">
  
    
    
      
                  as="xs:integer" />
                  as="element(SPEECH)?">
          
                          select="$list[position()!=1]" />
          
        
        
                      test="$first gt count($longest-of-rest/LINE)">
            
          
          
            
          

        

      
    

  
  
    
      
        
      
    

  

Output:

    C
    B
    C
    D