You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2020/07/19 07:54:01 UTC

svn commit: r1880038 - in /xerces/java: branches/xml-schema-1.1-dev/docs/style/stylesheets/document2html.xsl trunk/docs/style/stylesheets/document2html.xsl

Author: mukulg
Date: Sun Jul 19 07:54:00 2020
New Revision: 1880038

URL: http://svn.apache.org/viewvc?rev=1880038&view=rev
Log:
minor improvements to xerces-j docs generator stylesheet

Modified:
    xerces/java/branches/xml-schema-1.1-dev/docs/style/stylesheets/document2html.xsl
    xerces/java/trunk/docs/style/stylesheets/document2html.xsl

Modified: xerces/java/branches/xml-schema-1.1-dev/docs/style/stylesheets/document2html.xsl
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/docs/style/stylesheets/document2html.xsl?rev=1880038&r1=1880037&r2=1880038&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/docs/style/stylesheets/document2html.xsl (original)
+++ xerces/java/branches/xml-schema-1.1-dev/docs/style/stylesheets/document2html.xsl Sun Jul 19 07:54:00 2020
@@ -31,8 +31,19 @@
               <img width="29" height="60" src="resources/right.gif" hspace="0" vspace="0" border="0"/></td>
           </tr>
           <tr>
-            <td width="456" height="35" valign="top" align="left" colspan="4" bgcolor="#0086b2">
-              <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{s1/@title}"/></td>
+            <xsl:choose>
+               <xsl:when test="$id = 'index'">
+                  <!-- revisit : get the value 'Xerces2 Java XML Parser' from file entities.ent -->
+                  <td align="center" bgcolor="#0086b2" colspan="4" height="35" valign="middle" width="456">
+                    <font color="#f8fefd" face="arial,helvetica,sanserif" size="+2">Xerces2 Java XML Parser Readme</font>
+                  </td>
+               </xsl:when>
+               <xsl:otherwise>
+                  <td width="456" height="35" valign="top" align="left" colspan="4" bgcolor="#0086b2">
+                    <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{s1/@title}"/>
+                  </td>
+               </xsl:otherwise>
+            </xsl:choose>
           </tr>
           <tr>
             <td width="168" height="20" valign="top" align="left">

Modified: xerces/java/trunk/docs/style/stylesheets/document2html.xsl
URL: http://svn.apache.org/viewvc/xerces/java/trunk/docs/style/stylesheets/document2html.xsl?rev=1880038&r1=1880037&r2=1880038&view=diff
==============================================================================
--- xerces/java/trunk/docs/style/stylesheets/document2html.xsl (original)
+++ xerces/java/trunk/docs/style/stylesheets/document2html.xsl Sun Jul 19 07:54:00 2020
@@ -31,8 +31,19 @@
               <img width="29" height="60" src="resources/right.gif" hspace="0" vspace="0" border="0"/></td>
           </tr>
           <tr>
-            <td width="456" height="35" valign="top" align="left" colspan="4" bgcolor="#0086b2">
-              <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{s1/@title}"/></td>
+            <xsl:choose>
+               <xsl:when test="$id = 'index'">
+                  <!-- revisit : get the value 'Xerces2 Java XML Parser' from file entities.ent --> 
+                  <td align="center" bgcolor="#0086b2" colspan="4" height="35" valign="middle" width="456">
+                    <font color="#f8fefd" face="arial,helvetica,sanserif" size="+2">Xerces2 Java XML Parser Readme</font>
+                  </td>
+               </xsl:when>
+               <xsl:otherwise>
+                  <td width="456" height="35" valign="top" align="left" colspan="4" bgcolor="#0086b2">
+                    <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{s1/@title}"/>
+                  </td>
+               </xsl:otherwise>
+            </xsl:choose>
           </tr>
           <tr>
             <td width="168" height="20" valign="top" align="left">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org