Mercurial > hg > jdk9-shenandoah > jaxp
view test/javax/xml/jaxp/unittest/transform/upload-media.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/upload-media.xsl@29ba77ad2a87 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://msqr.us/xsd/matte" xmlns:xweb="http://msqr.us/xsd/jaxb-web" exclude-result-prefixes="m xweb"> <!-- imports --> <xsl:import href="default-layout.xsl"/> <xsl:import href="upload-media-form.xsl"/> <!-- helper vars --> <xsl:variable name="form.collectionId" select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='collectionId']"/> <xsl:variable name="form.localTz" select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='localTz']"/> <xsl:variable name="form.mediaTz" select="xweb:x-data/xweb:x-auxillary[1]/xweb:x-param[@key='mediaTz']"/> <xsl:template match="xweb:x-data" mode="page-title"> <xsl:value-of select="key('i18n','upload.media.title')"/> </xsl:template> <xsl:template match="xweb:x-data" mode="page-body-class"> <xsl:text>no-sub-nav</xsl:text> </xsl:template> <xsl:template match="xweb:x-data" mode="page-main-nav"> <xsl:call-template name="main-nav"> <xsl:with-param name="page" select="'upload'"/> </xsl:call-template> </xsl:template> <xsl:template match="xweb:x-data" mode="page-body"> <xsl:apply-templates select="." mode="add-media-form"/> <script type="text/javascript" xml:space="preserve"> <xsl:comment> document.forms[0].elements['tempFile'].focus(); //</xsl:comment> </script> </xsl:template> </xsl:stylesheet>