Better changebar support - all paragraphs
authorNigel Metheringham <nigel.metheringham@dev.intechnology.co.uk>
Sun, 16 Jan 2011 19:31:21 +0000 (19:31 +0000)
committerNigel Metheringham <nigel.metheringham@dev.intechnology.co.uk>
Sun, 16 Jan 2011 19:31:21 +0000 (19:31 +0000)
templates/wrapper.xsl

index 2185f1ccc1df6ff80e9b02297eb920bde332cd63..186a66932a14ac371f53514ac4461cb698d4b1f5 100644 (file)
       </xsl:template>
 
    <!-- Para -->
-      <xsl:template match="para"> <p> <xsl:apply-templates/> </p> </xsl:template>
+      <xsl:template match="para">
+         <p>
+            <xsl:if test="@revisionflag!=''"><xsl:attribute name="class">changed</xsl:attribute></xsl:if>
+            <xsl:apply-templates/>
+         </p>
+      </xsl:template>
 
    <!-- Lists -->
       <xsl:template match="itemizedlist">                        <ul> <xsl:apply-templates/> </ul> </xsl:template>