All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xslt.base.html.verbatim-patch.xsl Maven / Gradle / Ivy





  
  

  
  
  
  
  
  

  
    
  

  

  
    
  

  

  
    
      
      
    
  

  

  
    
      
    
  

  

  
    
      
    
  

  

  
    
      
        
      
      
        
          
            
              
              
              
              
              
            
          
          
            
              
              
              
              
              
            
          
        
      
    
  

  

  
  
    
      
      
        
      
    
  

  
    
  

  

  
  





  
    
  
  
    
      
	
	  
	
	
	  
	
      
    
  



  

  
    
    
      
    
  



  







  

  
    
    
      
    

    
  



  





  

  
    
      
        
      
      
        
        
          
            
          
          
            
          
        
      
    
  

  
    
      
	
	  
	
	
	  
	
	
	  
	
      
    
  

  
    
  

  
    
  

  
    
      
      
    
  

  
    
      
    
  

  



  
  
  
  
  

  
    
      
        
      
      
        
        
          
            
          
          
            
          
        
      
    
  

  

  
    
      
	

        
          
            
          
          
        
        
          
            
          
        
      
      
        
          
        
        
          
            
          
        
      
    
  

  
    
      
	
      
    
    
      
    
  

  
    

  



  

  
Restores content to empty elements. This template reverses the flattening process performed by the m:patch-empty-elements mode. It replaces pairs of empty elements and their corresponding ghost:ends with an element that has content. nodes The sequence of nodes containing empty elements. The nodes with content restored. Unwraps an element with a particular name This template takes a sequence of nodes. It traverses that sequence making sure that any element with the specified name occurs at the top-most level of the sequence: it closes all open elements that the named element is nested within, outputs the named element, then reopens all the elements that it had been nested within. unwrap The name of the element to unwrap. content The sequence of nodes. stack The stack of currently open elements. The original content sequence modified so that all elements named unwrap are at the top level. STACK[ ] ... , Make all elements empty This mode is used to completely flatten all nesting in a tree. Every start tag is replaced with an empty tag that has a ghost:id attribute. Every end tag is replaced with an empty ghost:end element that has an idref attribute pointing to the appropriate ghost:id. To reverse the process, see t:restore-content. Remove all newlines This mode is used to remove newlines from text content. This is necessary in verbatim processing of elements such as footnote because, although line breaks are significant in a verbatim environment, they are not significant in the content of a footnote in a verbatim environment.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy