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

xslt.base.preprocess.50-normalize.xsl Maven / Gradle / Ivy













../common/locales/







  






  
    
      
    
    
      
    
  



  
    
      
    
    
      
    
  





Mode for normalizing a DocBook document


This mode is used to normalize an input document. Normalization
moves all title, subtitle, and
titleabbrev elements inside info wrappers,
creating the wrapper if necessary.
If the element being normalized has a default title (e.g.,
bibligraphy and glossary), the title is made
explicit during normalization.
External glossaries and bibliographies (not yet!) are also
copied by normalization.






Moves titles inside info


This template moves title, subtitle, and
titleabbrev elements inside an info.




The transformed node.




  
    

    
      
	
      
      
	
	  
	    
	  
	
	
      
      
	
      
    
  



  
    
      
      
    
  



  
    
  



  
     
      
      
	
	  
	    Error: 
	    empty 
	    
	     with no id.
	  
	
	
	  
	
	
	  
	    Error: 
	    $bibliography.collection doesn't contain 
	    
	  
	  
	    
	    ???
	  
	
      
    
    
      
	
	
      
    
  



  
    
      
    
  

  
    
      
	
	  Warning: processing automatic glossary 
	  without an external glossary.
	
      

      
	
	  
	    
	  
	
	

	
	  
	    
	  
	

	

	
	  
	    
	      
	      
	    
	  
	  
	    
	      
	      
	    
	  
	
      
    
    
      
    
  



  
    
  



  
    
  



  
    
  



  
    
  



  
    
  



  
    
  



  
    
  



  
    
  



  
    
  





Generate a title, if necessary, and see that its moved into
info


If the context node does not have a title, this template will
generate one. In either case, the title will be placed or moved inside
an info which will be created if necessary.





title-key

The key to use for creating the generated-text title if one is
necessary.






The transformed node.




  

  
    
      
    
    
      
	

	
	  
	    
	      
	      
		
		  
		
	      
	      
	      
	    

	    
	  

	  
	    
	      
		
		
		  
		
	      
	    

	    
	      
		
	      
	    
	    
	  
	
      
    
  



  
  
    
  



  
    
    
      
    
    
  





Copy the specified nodes, normalizing other content
if appropriate


The specified nodes are copied. If the context node is an
info element, then the rest of its contents are also normalized.





copynodes

The nodes to copy.






The transformed node.




  

  
    
      
      
    
  

  
    
  



  
  
    
      
    
    
      
    
  



  
    
      
    
    
      
    
  




  



  
    
      
        
          
            
            
          
        
        
          
        
      
    
    
      
	
	
      
    
  



  






Mode for copying external glossary entries


This mode is used to copy glossary entries from the
glossary.collection into the current document.




  
  

  
    
      
      
    
  

  
    
      
	
	  
	  
	  
	
      
      
	
      
    
  



  
  

  

  
    
  



  
  

  
    
    
      
      
    
  





  
    

    
      
        
          
            
          
        
        
          
        
      
    
  




  
    
      
        
          <xsl:apply-templates select="@*,node()"/>
        
      
    
    
      
    
  







© 2015 - 2024 Weber Informatics LLC | Privacy Policy