<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xmlns:cml="http://www.xml-cml.org/dtd/cml1_0_1">

<!-- (c) 2001 - Michael Wright (karne@innocent.com) - http://www.xml-cml.org -->

<!-- *** Root Stylesheet *** -->
<!-- Note: This is the stylesheet called directly by the XML document. It calls those stylesheet libraries that the document needs and outlines the transformed document (in this case an XHTML page). To add or remove stylesheet libraries and hence functionality, you need only to edit *this* file. If you need to change how a particular library works then you need to edit the stylesheet fragments directly. For example: if you don't want your document to have a Index, then comment out  <xsl:call-template name="buildIndex" /> below. If you want to change how the index *works* then you'll need to understand XSLT and edit xhtml_ie/docml/fn_buildindex.xslt. If you want to change how the index *looks*, then edit basic.css --> 

<!-- ****** import stylesheets libraries ****** -->
<!-- generic stylesheets useful for any language-->
<!-- core functions -->
<xsl:include href="http://www.xml-cml.org/chemstyle/stylesheets/text/core/index.xslt" />
<!-- cml (full support) - chemical markup language -->
<xsl:include href="http://www.xml-cml.org/chemstyle/stylesheets/text/cml/index.xslt" />

<!-- ****** set CML viewer locations (applets etc.) ****** --> 
<xsl:variable name="viewerLocation">na</xsl:variable>
 
<xsl:output method="html" encoding="utf-8"/>

<!-- ****** main stylesheets ****** -->

<xsl:template match="/"><xsl:apply-templates /></xsl:template>

<xsl:template match="cml:cml">
	<xsl:for-each select="cml:molecule">
		<xsl:call-template name="convertJme" />
	</xsl:for-each>
</xsl:template>

</xsl:stylesheet>



