Lines 851-857
Link Here
|
851 |
<xsl:when test="title"> |
851 |
<xsl:when test="title"> |
852 |
<p class="chaphead"> |
852 |
<p class="chaphead"> |
853 |
<span class="chapnum"> |
853 |
<span class="chapnum"> |
854 |
<a name="doc_chap{$chid}"><xsl:number/>. </a> |
854 |
<xsl:choose> |
|
|
855 |
<xsl:when test="@id"> |
856 |
<a name="doc_chap{$chid}"><xsl:number/></a> |
857 |
<a name="{@id}">. </a> |
858 |
</xsl:when> |
859 |
<xsl:otherwise> |
860 |
<a name="doc_chap{$chid}"><xsl:number/> .</a> |
861 |
</xsl:otherwise> |
862 |
</xsl:choose> |
855 |
</span> |
863 |
</span> |
856 |
<xsl:value-of select="title"/> |
864 |
<xsl:value-of select="title"/> |
857 |
</p> |
865 |
</p> |
Lines 860-866
Link Here
|
860 |
<xsl:if test="/guide"> |
868 |
<xsl:if test="/guide"> |
861 |
<p class="chaphead"> |
869 |
<p class="chaphead"> |
862 |
<span class="chapnum"> |
870 |
<span class="chapnum"> |
863 |
<a name="doc_chap{$chid}"><xsl:number/>.</a> |
871 |
<xsl:choose> |
|
|
872 |
<xsl:when test="@id"> |
873 |
<a name="doc_chap{$chid}"><xsl:number/></a> |
874 |
<a name="{@id}">.</a> |
875 |
</xsl:when> |
876 |
<xsl:otherwise> |
877 |
<a name="doc_chap{$chid}"><xsl:number/>.</a> |
878 |
</xsl:otherwise> |
879 |
</xsl:choose> |
864 |
</span> |
880 |
</span> |
865 |
</p> |
881 |
</p> |
866 |
</xsl:if> |
882 |
</xsl:if> |
Lines 881-887
Link Here
|
881 |
<xsl:if test="title"> |
897 |
<xsl:if test="title"> |
882 |
<xsl:variable name="sectid">doc_chap<xsl:value-of select="$chid"/>_sect<xsl:number/></xsl:variable> |
898 |
<xsl:variable name="sectid">doc_chap<xsl:value-of select="$chid"/>_sect<xsl:number/></xsl:variable> |
883 |
<p class="secthead"> |
899 |
<p class="secthead"> |
884 |
<a name="{$sectid}"><xsl:value-of select="title"/> </a> |
900 |
<xsl:choose> |
|
|
901 |
<xsl:when test="@id"> |
902 |
<a name="{$sectid}"><xsl:value-of select="title"/></a> |
903 |
<a name="{@id}"> </a> |
904 |
</xsl:when> |
905 |
<xsl:otherwise> |
906 |
<a name="{$sectid}"><xsl:value-of select="title"/> </a> |
907 |
</xsl:otherwise> |
908 |
</xsl:choose> |
885 |
</p> |
909 |
</p> |
886 |
</xsl:if> |
910 |
</xsl:if> |
887 |
<xsl:apply-templates select="body"> |
911 |
<xsl:apply-templates select="body"> |
Lines 896-901
Link Here
|
896 |
<xsl:variable name="figid">doc_chap<xsl:value-of select="$chid"/>_fig<xsl:value-of select="$fignum"/></xsl:variable> |
920 |
<xsl:variable name="figid">doc_chap<xsl:value-of select="$chid"/>_fig<xsl:value-of select="$fignum"/></xsl:variable> |
897 |
<br/> |
921 |
<br/> |
898 |
<a name="{$figid}"/> |
922 |
<a name="{$figid}"/> |
|
|
923 |
<xsl:if test="@id"> |
924 |
<a name="{@id}"/> |
925 |
</xsl:if> |
899 |
<table cellspacing="0" cellpadding="0" border="0"> |
926 |
<table cellspacing="0" cellpadding="0" border="0"> |
900 |
<tr> |
927 |
<tr> |
901 |
<td class="infohead" bgcolor="#7a5ada"> |
928 |
<td class="infohead" bgcolor="#7a5ada"> |
Lines 1095-1100
Link Here
|
1095 |
<xsl:variable name="prenum"><xsl:number level="any" from="chapter" count="pre"/></xsl:variable> |
1122 |
<xsl:variable name="prenum"><xsl:number level="any" from="chapter" count="pre"/></xsl:variable> |
1096 |
<xsl:variable name="preid">doc_chap<xsl:value-of select="$chid"/>_pre<xsl:value-of select="$prenum"/></xsl:variable> |
1123 |
<xsl:variable name="preid">doc_chap<xsl:value-of select="$chid"/>_pre<xsl:value-of select="$prenum"/></xsl:variable> |
1097 |
<a name="{$preid}"/> |
1124 |
<a name="{$preid}"/> |
|
|
1125 |
<xsl:if test="@id"> |
1126 |
<a name="{@id}"/> |
1127 |
</xsl:if> |
1098 |
<table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0"> |
1128 |
<table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0"> |
1099 |
<tr> |
1129 |
<tr> |
1100 |
<td class="infohead" bgcolor="#7a5ada"> |
1130 |
<td class="infohead" bgcolor="#7a5ada"> |