Added my first PDP-11 add-on device component (PC11)

This commit is contained in:
Jeff Parsons 2016-10-15 16:32:59 -07:00 committed by Jeff Parsons
commit 0f4cbd6e7b
27 changed files with 1219 additions and 388 deletions

View file

@ -712,16 +712,16 @@
<xsl:template match="device[not(@ref)]">
<xsl:param name="machine" select="''"/>
<xsl:variable name="name">
<xsl:variable name="type">
<xsl:choose>
<xsl:when test="@name"><xsl:value-of select="@name"/></xsl:when>
<xsl:when test="@type"><xsl:value-of select="@type"/></xsl:when>
<xsl:otherwise/>
</xsl:choose>
</xsl:variable>
<xsl:call-template name="component">
<xsl:with-param name="machine" select="$machine"/>
<xsl:with-param name="class">device</xsl:with-param>
<xsl:with-param name="parms">,name:'<xsl:value-of select="$name"/>'</xsl:with-param>
<xsl:with-param name="parms">,type:'<xsl:value-of select="$type"/>'</xsl:with-param>
</xsl:call-template>
</xsl:template>