You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2007/10/28 18:12:27 UTC
svn commit: r589383 -
/cocoon/trunk/tools/cocoon-daisy-export-strategy/src/main/resources/org/apache/cocoon/tools/maven/daisy/export/strategy/cocoon-doc-2-xdoc.xslt
Author: reinhard
Date: Sun Oct 28 10:12:26 2007
New Revision: 589383
URL: http://svn.apache.org/viewvc?rev=589383&view=rev
Log:
fix document title
Modified:
cocoon/trunk/tools/cocoon-daisy-export-strategy/src/main/resources/org/apache/cocoon/tools/maven/daisy/export/strategy/cocoon-doc-2-xdoc.xslt
Modified: cocoon/trunk/tools/cocoon-daisy-export-strategy/src/main/resources/org/apache/cocoon/tools/maven/daisy/export/strategy/cocoon-doc-2-xdoc.xslt
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-daisy-export-strategy/src/main/resources/org/apache/cocoon/tools/maven/daisy/export/strategy/cocoon-doc-2-xdoc.xslt?rev=589383&r1=589382&r2=589383&view=diff
==============================================================================
--- cocoon/trunk/tools/cocoon-daisy-export-strategy/src/main/resources/org/apache/cocoon/tools/maven/daisy/export/strategy/cocoon-doc-2-xdoc.xslt (original)
+++ cocoon/trunk/tools/cocoon-daisy-export-strategy/src/main/resources/org/apache/cocoon/tools/maven/daisy/export/strategy/cocoon-doc-2-xdoc.xslt Sun Oct 28 10:12:26 2007
@@ -35,18 +35,18 @@
<xsl:param name="editUrl"/>
<xsl:template match="/">
+ <xsl:variable name="doc"
+ select="/p:publisherResponse/p:document/p:preparedDocuments/p:preparedDocument[1]/p:publisherResponse/d:document"/>
<document>
<properties>
<title>
- <xsl:value-of select="@name"/>
+ <xsl:value-of select="$doc/@name"/>
</title>
<author>
<xsl:value-of select="$author"/>
</author>
</properties>
<body>
- <xsl:variable name="doc"
- select="/p:publisherResponse/p:document/p:preparedDocuments/p:preparedDocument[1]/p:publisherResponse/d:document"/>
<xsl:apply-templates select="$doc"/>
</body>
</document>