Index: lams_central/web/toolcontent/learning-design-ims.xslt =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/toolcontent/learning-design-ims.xslt,v diff -u -r1.1 -r1.2 --- lams_central/web/toolcontent/learning-design-ims.xslt 25 Oct 2006 08:35:19 -0000 1.1 +++ lams_central/web/toolcontent/learning-design-ims.xslt 26 Oct 2006 05:48:38 -0000 1.2 @@ -19,7 +19,7 @@ http://www.gnu.org/licenses/gpl.txt --> - + @@ -38,21 +38,25 @@ - - - + + + + Learner - + + + + @@ -72,31 +76,39 @@ + + + - + - + - + + - - + + - <xsl:value-of select="*//activityTitle"/> + <xsl:value-of select="activityTitle"/> - + + + + + - + <xsl:value-of select="*//activityTitle"/> @@ -112,7 +124,7 @@ </activity-structure> </xsl:template> <!-- ================================== lams Tansitions ================================== --> - <xsl:template match="*/transitions"> + <xsl:template match="transitions"> <activity-structure identifier="A-sequence" structure-type="sequence"> <title>LAMS Learning design sequence @@ -122,7 +134,7 @@ - + @@ -145,51 +157,32 @@ <!-- ================================== some attributes ================================== --> <xsl:attribute-set name="toolIdentifier"> - <xsl:attribute name="identifier"> - A-<xsl:value-of select="*//toolSignature"/>-<xsl:value-of select="*//toolContentID"/> - </xsl:attribute> + <xsl:attribute name="identifier">A-<xsl:value-of select="toolSignature"/>-<xsl:value-of select="toolContentID"/></xsl:attribute> </xsl:attribute-set> + <xsl:attribute-set name="toolRef"> - <xsl:attribute name="ref"> - A-<xsl:value-of select="*//toolSignature"/>-<xsl:value-of select="*//toolContentID"/> - </xsl:attribute> + <xsl:attribute name="ref">A-<xsl:value-of select="toolSignature"/>-<xsl:value-of select="toolContentID"/></xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="complexAttr"> - <xsl:attribute name="identifier"> - S-<xsl:value-of select="*//toolSignature"/>-<xsl:value-of select="*//toolContentID"/> - </xsl:attribute> + <xsl:attribute name="identifier">S-<xsl:value-of select="*//toolSignature"/>-<xsl:value-of select="*//toolContentID"/></xsl:attribute> <xsl:attribute name="structure-type"> - <xsl:if test="*//activityTypeID=6"> - <xsl:value-of select="PARALLEL"/> - </xsl:if> - <xsl:if test="*//activityTypeID=7"> - <xsl:value-of select="OPTIONS"/> - </xsl:if> - <xsl:if test="*//activityTypeID=8"> - <xsl:value-of select="SEQUENCE"/> - </xsl:if> + <xsl:if test="*//activityTypeID=6">PARALLEL</xsl:if> + <xsl:if test="*//activityTypeID=7">OPTIONS</xsl:if> + <xsl:if test="*//activityTypeID=8">SEQUENCE</xsl:if> </xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="toolEnvIdentifier"> - <xsl:attribute name="identifier"> - E-<xsl:value-of select="*//toolSignature"/>-<xsl:value-of select="*//toolContentID"/> - </xsl:attribute> + <xsl:attribute name="identifier">E-<xsl:value-of select="toolSignature"/>-<xsl:value-of select="toolContentID"/></xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="toolEnvRef"> - <xsl:attribute name="ref"> - E-<xsl:value-of select="*//toolSignature"/>-<xsl:value-of select="*//toolContentID"/> - </xsl:attribute> + <xsl:attribute name="ref">E-<xsl:value-of select="toolSignature"/>-<xsl:value-of select="toolContentID"/></xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="serviceAttr"> - <xsl:attribute name="identifier"> - S-<xsl:value-of select="*//toolSignature"/>-<xsl:value-of select="*//toolContentID"/> - </xsl:attribute> - <xsl:attribute name="isvisible"> - true - </xsl:attribute> + <xsl:attribute name="identifier">S-<xsl:value-of select="*//toolSignature"/>-<xsl:value-of select="*//toolContentID"/></xsl:attribute> + <xsl:attribute name="isvisible">true</xsl:attribute> </xsl:attribute-set> </xsl:stylesheet>