Author: gmcdonald
Date: Sun Jan 11 00:43:50 2009
New Revision: 733432
URL: http://svn.apache.org/viewvc?rev=733432&view=rev
Log:
remove hard coding, comment image alt until FOR-1121 is cured
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=733432&r1=733431&r2=733432&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
Sun Jan 11 00:43:50 2009
@@ -1,5 +1,6 @@
<?xml version='1.0'?>
-<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'>
+<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0'
+ xmlns:fn="http://www.w3.org/2006/xpath-functions">
<xsl:output method="xml" version="1.0" indent="yes"
cdata-section-elements="Program"/>
@@ -100,8 +101,9 @@
<xsl:template match="figure">
<img>
- <xsl:attribute name="src">oss<xsl:value-of
select="@url"/></xsl:attribute>
- <xsl:attribute name="alt"><xsl:value-of
select="@rend"/></xsl:attribute>
+ <xsl:attribute name="src"><xsl:value-of select="@url"/></xsl:attribute>
+ <!-- <xsl:attribute name="alt"><xsl:value-of
select="@rend"/></xsl:attribute> -->
+ <!-- Uncomment above line once we have images being displayed -->
</img>
</xsl:template>