From: Bob J. <jac...@us...> - 2007-11-29 07:36:06
|
Update of /cvsroot/jmri/xml/XSLT In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv24267 Modified Files: panelfile.xsl Log Message: add some panel decoding Index: panelfile.xsl =================================================================== RCS file: /cvsroot/jmri/xml/XSLT/panelfile.xsl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** panelfile.xsl 27 Nov 2007 18:09:31 -0000 1.4 --- panelfile.xsl 29 Nov 2007 07:36:02 -0000 1.5 *************** *** 291,298 **** <xsl:template match="paneleditor"> ! <h3>Panel: <xsl:value-of select="@name"/> ! </h3> </xsl:template> </xsl:stylesheet> --- 291,316 ---- <xsl:template match="paneleditor"> ! <h3>Panel: <xsl:value-of select="@name"/></h3> ! ! <!-- index through individal panel elements --> ! <xsl:apply-templates/> ! ! </xsl:template> ! ! <xsl:template match="signalheadicon"> ! Signalhead Icon <xsl:value-of select="@signalhead"/><br/> </xsl:template> + <xsl:template match="turnouticon"> + Turnout Icon <xsl:value-of select="@turnout"/><br/> + </xsl:template> + + <xsl:template match="sensoricon"> + Sensor Icon <xsl:value-of select="@sensor"/><br/> + </xsl:template> + + <xsl:template match="positionablelabel"> + Positionable Label <xsl:value-of select="@icon"/><br/> + </xsl:template> </xsl:stylesheet> |