Commit 5d447a7b authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Changed output in process.xml, changed colors in xsl

parent a1d5ba00
......@@ -7,7 +7,7 @@
<query name="artist" type="tmq" root="music-collection">
<param name="artist" select="TEST"/>
<select match="music-collection/owner"/>
<select match="music-collection/artist[name=$artist]"/>
<select match="music-collection/artist[name=translate($artist,'_',' ')]"/>
</query>
<!-- removes all tag <time></time> -->
......@@ -19,7 +19,7 @@
<main name="Collection">
<param name="artist">No Doubt</param>
<param name="artist">No_Doubt</param>
<param name="filename">Music-collection</param>
<!-- ######################################### -->
......@@ -38,7 +38,7 @@
</apply-external>
<serialize id="FormHTML" type="writefile" in="o12">
<with-param name="file">../samples/music/results/${filename}.html</with-param>
<with-param name="file">../samples/music/output/${filename}.html</with-param>
<with-param name="indent">yes</with-param>
</serialize>
......@@ -52,7 +52,7 @@
</apply-external>
<serialize id="FormArtistHTML" type="writefile" in="OUT">
<with-param name="file">../samples/music/results/${artist}.html</with-param>
<with-param name="file">../samples/music/output/${artist}.html</with-param>
<with-param name="indent">yes</with-param>
<with-param name="method">xhtml</with-param>
</serialize>
......@@ -71,7 +71,7 @@
</apply-external>
<serialize id="FormCAL" type="writefile" in="a21">
<with-param name="file">../samples/music/results/${artist}.vcs</with-param>
<with-param name="file">../samples/music/output/${artist}.vcs</with-param>
<with-param name="indent">yes</with-param>
<with-param name="method">text</with-param>
</serialize>
......
......@@ -12,7 +12,7 @@
<xsl:value-of select="$title"/>
</title>
</head>
<body bgcolor="darkblue" text="white" >
<body bgcolor="lightblue" text="black" >
<h1>
<center><FONT COLOR="orange">
......@@ -20,7 +20,7 @@
<xsl:attribute name="name">
<xsl:value-of select="$title"/>
</xsl:attribute>
<xsl:value-of select="$title"/><xsl:text> : </xsl:text><xsl:value-of select="$artist"/>
<xsl:value-of select="$title"/><xsl:text> : </xsl:text><xsl:value-of select="translate($artist,'_',' ')"/>
</a>
</FONT></center>
</h1>
......@@ -82,7 +82,7 @@
<h2 style="color:red">
<p><xsl:value-of select="name"/>
<xsl:text> </xsl:text><a><xsl:attribute name="href">#<xsl:value-of select="$title"/></xsl:attribute>Up</a>
<xsl:text> </xsl:text><a><xsl:attribute name="href"><xsl:value-of select="name"/>.html</xsl:attribute>Go</a></p>
<xsl:text> </xsl:text><a><xsl:attribute name="href"><xsl:value-of select="translate(name,' ','_')"/>.html</xsl:attribute>Go</a></p>
</h2>
</a>
......@@ -113,7 +113,7 @@
<xsl:variable name="bgcolor">
<xsl:choose>
<xsl:when test="$even">orange</xsl:when>
<xsl:otherwise>purple</xsl:otherwise>
<xsl:otherwise>white</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<!-- Determine whether the CD has times for any of its tracks. -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment