Author: gmcdonald
Date: Wed Oct 1 20:20:11 2008
New Revision: 700996
URL: http://svn.apache.org/viewvc?rev=700996&view=rev
Log:
Convert tei figure to xdcoc image and process supplied attributes, partial fix
for FOR-1121
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/resources/stylesheets/tei-to-document.xsl
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/resources/stylesheets/tei-to-document.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/resources/stylesheets/tei-to-document.xsl?rev=700996&r1=700995&r2=700996&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/resources/stylesheets/tei-to-document.xsl
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/resources/stylesheets/tei-to-document.xsl
Wed Oct 1 20:20:11 2008
@@ -100,7 +100,8 @@
<xsl:template match="figure">
<img>
- <xsl:apply-templates/>
+ <xsl:attribute name="src">oss<xsl:value-of
select="@url"/></xsl:attribute>
+ <xsl:attribute name="alt"><xsl:value-of
select="@rend"/></xsl:attribute>
</img>
</xsl:template>