Applying Style


<xsl:apply-imports> <xsl:apply-imports> </xsl:apply-imports> The xsl:apply-imports element is used to apply (invoke) the definitions and template rules of an imported stylesheet that normally might be overridden by the importing stylesheet. When one or more stylesheets are imported using the xsl:import element, the imported stylesheets are assigned a lower import precedence than the importing stylesheet. This means that the definitions and rules contained …

xsl:apply-imports Read More »


<xsl:attribute-set> <xsl:attribute-set name=”qname” use-attribute-sets=”qnames” > </xsl:attribute-set> The xsl:attribute-set element defines and names a set containing zero or more xsl:attribute elements. Each of the xsl:attribute elements are applied to the output in the order that they occur inside the xsl:attribute-set element. An xsl:attribute element allows you to create an attribute node, define a value, and add it to the output. The xsl:attribute-set element can only be a child …

xsl:attribute-set Read More »


<xsl:comment> <xsl:comment> …… </xsl:comment> The xsl:comment element is used to generate a comment in the output. The purpose of a comment is simply to provide information that may be of interest or importance to human users of the code. For example, you could list information about the program itself, such as the date of creation and programmer names or …

xsl:comment Read More »


<xsl:processing-instruction> <xsl:processing-instruction name=”process-name” > </xsl:processing-instruction> The xsl:processing-instruction element writes (generates) a processing instruction to the output. The content of this element becomes the text of the processing instruction. The syntax is: <xsl:processing-instruction name=”pi_name”> processing instruction text goes here … </xsl:processing-instruction> This text should not contain any character references. In other words, all characters must be directly …

xsl:processing-instruction Read More »

Scroll to Top