summaryrefslogtreecommitdiff
path: root/finalmodsheet.xsl
diff options
context:
space:
mode:
authorMaverick2016-06-16 11:23:23 +0530
committerMaverick2016-06-16 11:23:23 +0530
commit292fa6e123100198debe875068e815842e68a5d7 (patch)
treee858a580c0f66946e1588b81e293e1086ce94a0b /finalmodsheet.xsl
parent6533e577a6f48d41780d7732e87574d9da0860c2 (diff)
downloadxcos-on-web-292fa6e123100198debe875068e815842e68a5d7.tar.gz
xcos-on-web-292fa6e123100198debe875068e815842e68a5d7.tar.bz2
xcos-on-web-292fa6e123100198debe875068e815842e68a5d7.zip
XSL modified to handle links
Diffstat (limited to 'finalmodsheet.xsl')
-rw-r--r--finalmodsheet.xsl63
1 files changed, 48 insertions, 15 deletions
diff --git a/finalmodsheet.xsl b/finalmodsheet.xsl
index c64dc05..e331a57 100644
--- a/finalmodsheet.xsl
+++ b/finalmodsheet.xsl
@@ -150,6 +150,19 @@ Look for TAG:Break1!!!
</xsl:otherwise>
</xsl:choose>
</xsl:when>
+ <xsl:when test="@name">
+ <xsl:choose>
+ <xsl:when test="@name='ExplicitLink'">
+ <xsl:call-template name="ExplicitLink" />
+ </xsl:when>
+ <xsl:when test="@name='ImplicitLink'">
+ <xsl:call-template name="ImplicitLink" />
+ </xsl:when>
+ <xsl:when test="@name='CommandControlLink'">
+ <xsl:call-template name="CommandControlLink" />
+ </xsl:when>
+ </xsl:choose>
+ </xsl:when>
<xsl:otherwise>
<!-- Style not present -->
<xsl:copy-of select="." />
@@ -388,9 +401,19 @@ Look for TAG:Break1!!!
<xsl:value-of select="@id" />
</xsl:attribute>
</xsl:if>
- <xsl:if test="@style">
- <xsl:attribute name="style">
- <xsl:value-of select="@style" />
+ <xsl:if test="@parent">
+ <xsl:attribute name="parent">
+ <xsl:value-of select="@parent" />
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@source">
+ <xsl:attribute name="source">
+ <xsl:value-of select="@source" />
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@target">
+ <xsl:attribute name="target">
+ <xsl:value-of select="@target" />
</xsl:attribute>
</xsl:if>
<xsl:apply-templates />
@@ -638,14 +661,19 @@ Look for TAG:Break1!!!
<xsl:value-of select="@id" />
</xsl:attribute>
</xsl:if>
- <xsl:if test="@style">
- <xsl:attribute name="style">
- <xsl:value-of select="@style" />
+ <xsl:if test="@parent">
+ <xsl:attribute name="parent">
+ <xsl:value-of select="@parent" />
</xsl:attribute>
</xsl:if>
- <xsl:if test="@value">
- <xsl:attribute name="value">
- <xsl:value-of select="@value" />
+ <xsl:if test="@source">
+ <xsl:attribute name="source">
+ <xsl:value-of select="@source" />
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@target">
+ <xsl:attribute name="target">
+ <xsl:value-of select="@target" />
</xsl:attribute>
</xsl:if>
<xsl:apply-templates />
@@ -878,14 +906,19 @@ Look for TAG:Break1!!!
<xsl:value-of select="@id" />
</xsl:attribute>
</xsl:if>
- <xsl:if test="@style">
- <xsl:attribute name="style">
- <xsl:value-of select="@style" />
+ <xsl:if test="@parent">
+ <xsl:attribute name="parent">
+ <xsl:value-of select="@parent" />
</xsl:attribute>
</xsl:if>
- <xsl:if test="@value">
- <xsl:attribute name="value">
- <xsl:value-of select="@value" />
+ <xsl:if test="@source">
+ <xsl:attribute name="source">
+ <xsl:value-of select="@source" />
+ </xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@target">
+ <xsl:attribute name="target">
+ <xsl:value-of select="@target" />
</xsl:attribute>
</xsl:if>
<xsl:apply-templates />