You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/10/26 16:01:50 UTC
svn commit: r328647 - in
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy:
input.xmap resources/stylesheets/daisy-to-html.xsl
Author: rgardler
Date: Wed Oct 26 07:01:42 2005
New Revision: 328647
URL: http://svn.apache.org/viewcvs?rev=328647&view=rev
Log:
attribute name changed in Daisy 1.3
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap?rev=328647&r1=328646&r2=328647&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/input.xmap Wed Oct 26 07:01:42 2005
@@ -45,10 +45,15 @@
<map:transform src="{project:resources.stylesheets}/daisy/preFilter.xsl"/>
</map:when>
</map:select>
- <map:transform src="{forrest:stylesheets}/html-to-document.xsl"/>
+ <map:transform src="{lm:transform.html.document}"/>
+ <!--
+ <map:transform src="{lm:transform.html.document}">
+ <map:parameter name="source" value="{lm:{1}.daisy.source}"/>
+ </map:transform>
+ -->
<map:select type="exists">
<map:when test="{project:resources.stylesheets}/daisy/postFilter.xsl">
- <map:transform src="{project:resources.stylesheets}/daisy/postFilter.xsl"/>
+ <map:transform src="{project:resources.stylesheets}/daisy/postFilter.xsl"/>
</map:when>
</map:select>
<map:serialize type="xml"/>
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl?rev=328647&r1=328646&r2=328647&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl Wed Oct 26 07:01:42 2005
@@ -21,7 +21,6 @@
xmlns:p="http://outerx.org/daisy/1.0#publisher"
xmlns:ns="http://outerx.org/daisy/1.0"
version="1.0">
-
<xsl:template match="/">
<xsl:variable name="rootElementName"><xsl:value-of select="name(*)"/></xsl:variable>
<html>
@@ -111,7 +110,7 @@
<xsl:choose>
<xsl:when test="position() = 1">
<a>
- <xsl:attribute name="href"><xsl:value-of select="../@id"/>.daisy.html</xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of select="../@documentId"/>.daisy.html</xsl:attribute>
<xsl:apply-templates/>
</a>
</xsl:when>