Revision: 4048
Author: [email protected]
Date: Mon Jan  3 11:22:23 2011
Log: Updated the remarks fields to use the new method of saving remarks so they appear in HTML exports correctly.
http://code.google.com/p/power-architect/source/detail?r=4048

Modified:
 /trunk/src/main/resources/xsltStylesheets/architect2html.xslt

=======================================
--- /trunk/src/main/resources/xsltStylesheets/architect2html.xslt Thu Jul 29 14:36:01 2010 +++ /trunk/src/main/resources/xsltStylesheets/architect2html.xslt Mon Jan 3 11:22:23 2011
@@ -156,9 +156,9 @@
       <h2>
       (Physical Name: <xsl:value-of select="$physicalName"/>)
       </h2>
-      <xsl:if test="string-length(@remarks) &gt; 0">
+      <xsl:if test="string-length(remarks) &gt; 0">
         <p class="comment">
-        <xsl:apply-templates select="@remarks" />
+        <xsl:apply-templates select="remarks" />
         </p>
       </xsl:if>
     </div>
@@ -206,10 +206,10 @@
               </xsl:if>
             </td>
           </tr>
-          <xsl:if test="string-length(@remarks) &gt; 0">
+          <xsl:if test="string-length(remarks) &gt; 0">
           <tr>
             <td colspan="4">
- <div class="comment"><xsl:apply-templates select="@remarks" /></div> + <div class="comment"><xsl:apply-templates select="remarks" /></div>
             </td>
           </tr>
           </xsl:if>
@@ -342,7 +342,7 @@
   </xsl:choose>
 </xsl:template>

-<xsl:template name="makelinebreak" match="@remarks">
+<xsl:template name="makelinebreak" match="remarks">
    <xsl:param name="text" select="."/>
    <xsl:choose>
    <xsl:when test="contains($text, '&#xa;')">

Reply via email to