Mercurial > hg > jdk9-shenandoah > jaxp
view test/javax/xml/jaxp/unittest/transform/CR6957215.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/CR6957215.xsl@29ba77ad2a87 |
children |
line wrap: on
line source
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" /> <xsl:template match="aaa"> <xsl:copy> <xsl:copy-of select="@*" /> <xsl:element name="aaa-ref"> <xsl:attribute name="name">namevalue</xsl:attribute> <xsl:attribute name="package">packagevalue</xsl:attribute> </xsl:element> </xsl:copy> </xsl:template> <xsl:variable name="this"> <xsl:apply-templates select="aaa" /> </xsl:variable> <xsl:template match="/"> <xsl:copy-of select="$this" /> </xsl:template> </xsl:stylesheet>