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

xslt.base.html.inlines.xsl Maven / Gradle / Ivy









Handles simple inline elements


This template generates simple inline markup for the context
node, assumed to be an element.
Specifically, it generates a span with a
class attribute. It also handles any
necessary id or
dir attributes.
If the element has an alt element among its
children, the string-value of that element will be used as the
title of the span.




content

The content of the element. This defaults to the result of
calling “apply templates” with the current context node.






The result tree markup for the element.



  
    
      someVarName
    
    
      someVarName
    
  





  
    
  
  

  
    
    
  





Handles monospace inline elements


This template generates monospace inline markup for the context
node, assumed to be an element.
Specifically, it generates a tt with a
class attribute. It also handles any
necessary id or
dir attributes.
If the element has an alt element among its
children, the string-value of that element will be used as the
title of the tt.




content

The content of the element. This defaults to the result of
calling “apply templates” with the current context node.






The result tree markup for the element.




  
    
  
  

  
    
    
  





Handles bold inline elements


This template generates bold inline markup for the context
node, assumed to be an element.
Specifically, it generates a strong with a
class attribute. It also handles any
necessary id or
dir attributes.
If the element has an alt element among its
children, the string-value of that element will be used as the
title of the strong.




content

The content of the element. This defaults to the result of
calling “apply templates” with the current context node.






The result tree markup for the element.




  
    
  
  

  
    
    
  





Handles italic inline elements


This template generates italic inline markup for the context
node, assumed to be an element.
Specifically, it generates a em with a
class attribute. It also handles any
necessary id or
dir attributes.
If the element has an alt element among its
children, the string-value of that element will be used as the
title of the em.




content

The content of the element. This defaults to the result of
calling “apply templates” with the current context node.






The result tree markup for the element.




  
    
  
  

  
    
    
  





Handles bold, monospace inline elements


This template generates bold, monospace inline markup for the context
node, assumed to be an element.
Specifically, it generates a strong with a
class attribute and possibly an
id.

If the element has an
alt element among its children, the string-value of
that element will be used as the title of the strong.

Inside the strong, it generates a tt with
a dir attribute, if
appropriate.




content

The content of the element. This defaults to the result of
calling “apply templates” with the current context node.






The result tree markup for the element.




  
    
  
  

  
    
    
      
    
  





Handles italic, monospace inline elements


This template generates italic, monospace inline markup for the context
node, assumed to be an element.
Specifically, it generates a em with a
class attribute and possibly an
id.

If the element has an
alt element among its children, the string-value of
that element will be used as the title of the em.

Inside the em, it generates a tt with
a dir attribute, if
appropriate.




content

The content of the element. This defaults to the result of
calling “apply templates” with the current context node.






The result tree markup for the element.




  
    
  
  

  
    
    
      
    
  





Handles superscript inline elements


This template generates superscript inline markup for the context
node, assumed to be an element.
Specifically, it generates a sup with a
class attribute. It also handles any
necessary id or
dir attributes.

If the element has an alt element among its
children, the string-value of that element will be used as the
title of the sup.




content

The content of the element. This defaults to the result of
calling “apply templates” with the current context node.






The result tree markup for the element.




  
    
  

  
    
    
  





Handles subscript inline elements


This template generates subscript inline markup for the context
node, assumed to be an element.
Specifically, it generates a sub with a
class attribute. It also handles any
necessary id or
dir attributes.

If the element has an alt element among its
children, the string-value of that element will be used as the
title of the sub.




content

The content of the element. This defaults to the result of
calling “apply templates” with the current context node.






The result tree markup for the element.




  
    
  

  
    
    
  





Handles markup for the DocBook tag element


This template generates markup for the context
node, assumed to be a tag element.

Specifically, it generates a tt with a
class attribute. It also handles any
necessary id attribute.

Depending on the value of the class
attribute, additional generated text may be output as well.




class

The class attribute associated with the context element. If
the context element has no class attribute,
the default is “element”.






The result tree markup for the element.




  
    
      
        
      
      element
    
  

  
    
      
        
        
          
            
          
          
            
          
          
            
          
          
            </
            
            >
          
          
            &
            
            ;
          
          
            &#
            
            ;
          
          
            %
            
            ;
          
          
            <?
            
            >
          
          
            <?
            
            ?>
          
          
            <
            
            >
          
          
            <
            
            />
          
          
            <!--
            
            -->
          
          
            
          
        
      
    
  



  
    
      Something emphasized
    
    
      Something emphasized
    
  
  
    
      Something strongly emphasized
    
    
      Something strongly emphasized
    
  



  
  
    
      
        
        
      
    
    
      
        
        
      
    
  








  



  
    
    
  



  
    
      
      
	
          ©
        
	
          ®
        
	
	  
	
	
          
        
        
	  
	
      
    
  



  



  
    
      
      
	
          ©
        
	
          ®
        
	
	  SM
	
	
      
    
  





Template for processing glossterm elements


The glossterm template is used to process glossterm
and firstterm elements.




  
    
  



  

  

  
    

    
      
	

	
	  
	
      

      
	
	  
	    
	      
	    
	    
	      
	    
	  
	

	

	

	
	  
	    
	      Error: no glossentry for glossterm: 
	      
	      .
	    
	    
	  
	  
	    
	      
	    
	  
	
      

      
	
      
    
  



  
    
    
      
      
    
    
    
      
      
    
  



  
    
      <
      
	
	  mailto:
	  
	
	
      
      >
    
  





  



  
    
  











© 2015 - 2024 Weber Informatics LLC | Privacy Policy