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

cloud.war.dist.xslt.base.html.html.xsl Maven / Gradle / Ivy







  





Returns an XHTML anchor if appropriate


This template returns an XHTML anchor
(a) if the specified
node has an id
(or xml:id) attribute or if the
force parameter is non-zero.

If an anchor is generated, it's id
value is f:node-id().





node

The node for which an anchor should be generated. It defaults to
the context item.


force

To force an anchor to be generated, even if the node does
not have an ID, make this parameter non-zero. It defaults to 0.






An XHTML anchor or nothing.



  
    
      
    
    
      
    
  





  
  

  
    
  





Returns an “class” attribute if appropriate


This template returns an attribute named “class” if the specified
node has an role attribute or if the
force parameter is non-zero.




node

The node for which an class attribute should be generated. It defaults to
the context item.


force

To force a “class” attribute to be generated, even if the node does
not have a role,
make this parameter non-zero. It defaults to 0.


default-role

The default role that will be used if the attribute is forced
and the node has no role.






An “class” attribute or nothing.




  
  
  

  

  
    
  





Returns a “style” attribute if appropriate


This template returns an attribute named “style” if the
global parameter inline.style.attribute is non-zero
and a CSS style is specified.




css

The CSS style to apply.






A “style” attribute or nothing.




  

  
    
      
    
  





Template for inserting JavaScript


T.B.D.