<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
	<html>
        <head>
        <xsl:text disable-output-escaping="yes"><![CDATA[
    <script type="text/javascript" language="JavaScript">
        exampleArray = new Array(]]></xsl:text>
        <xsl:call-template name="example"/>
        <xsl:text disable-output-escaping="yes"><![CDATA[);
    </script>]]></xsl:text>
        </head>
        <body>
            <td>THANKS!</td>        
        </body>
     </html>
</xsl:template>

<xsl:template name="example">
    <xsl:for-each select="javascript/*">
        <xsl:text>"</xsl:text>
        <xsl:value-of select="."/>
        <xsl:text>"</xsl:text>
        <xsl:if test="not(position()=last())">
        <xsl:value-of select="','"/>
        </xsl:if>
    </xsl:for-each>
</xsl:template>

</xsl:stylesheet><!-- Stylus Studio meta-information - (c)1998-2003 Copyright Sonic Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="example" userelativepaths="yes" externalpreview="yes" url="java.xml" htmlbaseurl="" outputurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/>
</metaInformation>
-->