<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://saxon.sf.net">
	<xsl:variable name="p0ct" saxon:assignable="yes" select="0"/>
	<xsl:variable name="sp1ct" saxon:assignable="yes" select="0"/>

	<xsl:template match="xref">
		<xsl:if test="@xidtype='hotspot'">
			<xsl:variable name="hlink">#h<xsl:value-of select="@xrefid"></xsl:value-of></xsl:variable>
			<a href="{$hlink}" name="{@xrefid}">
				<xsl:apply-templates/>
			</a>
		</xsl:if>
		<xsl:if test="@xidtype!='hotspot'">
			<xsl:variable name="link">#<xsl:value-of select="@xrefid"></xsl:value-of></xsl:variable>
			<a href="{$link}">
				<xsl:apply-templates/>
			</a>
		</xsl:if>
	</xsl:template>

	<xsl:template match="para0">
		<xsl:if test="@id!=''">
			<a name="{@id}"/>
		</xsl:if>
		<xsl:apply-templates/>
	</xsl:template>

	<xsl:template match="para/refdm">
		<xsl:variable name="dmod">
			<xsl:call-template name="remove-spaces">
				<xsl:with-param name="input">
					<xsl:text>DMC-</xsl:text>
					<xsl:apply-templates/>
				</xsl:with-param>
			</xsl:call-template>
		</xsl:variable>
		<xsl:text>(see </xsl:text>
		<a href="#{$dmod}">
			<xsl:variable name="dnam">
				<xsl:value-of select="infoname"/>
			</xsl:variable>
			<xsl:value-of select="$dnam"/>
		</a>
		<xsl:text>)</xsl:text>
	</xsl:template>
	<xsl:template match="para/refdm/avee">
		<xsl:apply-templates/>
	</xsl:template>

	<xsl:template match="para0/title">
		<p>
			<!--<xsl:number count="descript" level="any"/>.-->
			<xsl:value-of select="$p0ct"/>&#160;&#160;
			<u>
				<xsl:apply-templates/>
			</u>
		</p>
	</xsl:template>

	<xsl:template match="subpara1/title">
		<p>
			<xsl:value-of select="$p0ct"/>.<xsl:value-of select="$sp1ct"/>&#160;&#160;
			<u>
				<xsl:apply-templates/>
			</u>
		</p>
	</xsl:template>

	<xsl:template match="seqlist">
		<xsl:if test="@id!=''">
			<a name="{@id}"/>
		</xsl:if>
		<ul>
			<xsl:apply-templates/>
		</ul>
	</xsl:template>

	<xsl:template match="item">
		<xsl:if test="@id!=''">
			<a name="{@id}"/>
		</xsl:if>
		<li>
			<xsl:apply-templates/>
		</li>
	</xsl:template>

	<xsl:template match="para0/para">
		<p>
			<xsl:if test="@id!=''">
				<a name="{@id}"/>
			</xsl:if>
			<xsl:apply-templates/>
		</p>
	</xsl:template>

	<xsl:template match="subpara1">
		<xsl:if test="@id!=''">
			<a name="{@id}"/>
		</xsl:if>
		<saxon:assign name="sp1ct" select="4"/>
		<xsl:apply-templates/>
	</xsl:template>

	<xsl:template match="subpara1/para">
		<xsl:if test="@id!=''">
			<a name="{@id}"/>
		</xsl:if>
		<xsl:apply-templates/>
		<p/>
	</xsl:template>

	<xsl:template match="deflist">
		<xsl:if test="@id!=''">
			<a name="{@id}"/>
		</xsl:if>
		<div align="center">
			<table border="0" width="85%">
				<xsl:apply-templates/>
			</table>
		</div>
	</xsl:template>

	<xsl:template match="deflist/term">
		<tr>
			<td width="20%">
				<xsl:if test="@id!=''">
					<a name="{@id}"/>
				</xsl:if>
				<xsl:apply-templates/>
			</td>
			<td width="80%">
				<xsl:if test="following-sibling::def/@id!=''">
					<a name="{following-sibling::def/@id}"/>
				</xsl:if>
				<xsl:value-of select="following-sibling::def"/>
			</td>
		</tr>
	</xsl:template>

	<xsl:template match="deflist/def"/>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c)1998-2004. Sonic Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="DMC&#x2D;BICYCLEXXXAAA&#x2D;AAA&#x2D;D00&#x2D;00&#x2D;00&#x2D;0000&#x2D;041A&#x2D;A_000&#x2D;02.xml" htmlbaseurl="" outputurl="" processortype="internal" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition></MapperMetaTag>
</metaInformation>
-->