/[volute]/trunk/projects/vocabularies/doc/structure.xslt
ViewVC logotype

Diff of /trunk/projects/vocabularies/doc/structure.xslt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 57 by norman.x.gray, Sun Feb 10 18:05:18 2008 UTC revision 58 by norman.x.gray, Sun Feb 10 22:14:45 2008 UTC
# Line 95  Line 95 
95        </x:choose>        </x:choose>
96      </x:variable>      </x:variable>
97      <x:element name="{$level}" namespace='http://www.w3.org/1999/xhtml'>      <x:element name="{$level}" namespace='http://www.w3.org/1999/xhtml'>
98          <x:if test="@id">
99            <x:attribute name='class'>hlink</x:attribute>
100          </x:if>
101          <x:apply-templates select="." mode="make-section-name"/>
102          <x:element name='a' namespace='http://www.w3.org/1999/xhtml'>
103            <x:attribute name='name'><x:value-of select='$id'/></x:attribute>
104            <x:if test="@id">
105              <!-- If the id attribute is present, then add the
106                   [link here] text, providing a link for this section -->
107              <x:attribute name='href'>#<x:value-of select='$id'/></x:attribute>
108              <x:text> [link here]</x:text>
109            </x:if>
110          </x:element>
111        </x:element>
112    <!--
113        <x:element name="{$level}" namespace='http://www.w3.org/1999/xhtml'>
114          <x:attribute name='class'>hlink</x:attribute>
115        <x:element name="a" namespace='http://www.w3.org/1999/xhtml'>        <x:element name="a" namespace='http://www.w3.org/1999/xhtml'>
116          <x:attribute name='name'><x:value-of select='$id'/></x:attribute>          <x:attribute name='name'><x:value-of select='$id'/></x:attribute>
117          <x:apply-templates select="." mode="make-section-name"/>          <x:apply-templates select="." mode="make-section-name"/>
118        </x:element>        </x:element>
119          <x:element name='a' namespace='http://www.w3.org/1999/xhtml'>
120            <x:attribute name='href'>#<x:value-of select='$id'/></x:attribute>
121            <x:text> [link here]</x:text>
122          </x:element>
123      </x:element>      </x:element>
124    -->
125      <x:apply-templates/>      <x:apply-templates/>
126    </x:template>    </x:template>
127    

Legend:
Removed from v.57  
changed lines
  Added in v.58

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26