Mercurial > hg > jdk9-shenandoah > jaxp
view test/javax/xml/jaxp/unittest/transform/CR6905829.xsl @ 779:2b61bfcaa586
8132660: Change jaxp unit test package name to be different with jaxp api
Reviewed-by: joehw
Contributed-by: frank.yuan@oracle.com
author | joehw |
---|---|
date | Mon, 10 Aug 2015 09:52:32 -0700 |
parents | test/javax/xml/jaxp/unittest/javax/xml/transform/CR6905829.xsl@29ba77ad2a87 |
children |
line wrap: on
line source
<?xml version="1.0" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="book"> <h1><xsl:value-of select="title"/></h1> <xsl:call-template name="MyTemplate"/> <!-- <xsl:call-template name="MyTemplate"> <xsl:with-param name="x" select="2"/> </xsl:call-template> --> </xsl:template> <xsl:template name="MyTemplate"> <xsl:param name="x" select="1"/> <p>MyTemplate has been called. param x=<xsl:value-of select="$x"/>.</p> </xsl:template> <xsl:include href="CR6905829Inc.xsl"/> </xsl:stylesheet>