/[volute]/trunk/projects/grid/uws/doc/ivoadoc/ivoarestructure.xslt
ViewVC logotype

Diff of /trunk/projects/grid/uws/doc/ivoadoc/ivoarestructure.xslt

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

revision 1246 by harripa, Tue Feb 9 20:05:36 2010 UTC revision 1247 by harripa, Wed Feb 10 13:11:35 2010 UTC
# Line 190  Line 190 
190    </x:template>    </x:template>
191    
192    <x:template match="processing-instruction('toc')">    <x:template match="processing-instruction('toc')">
193    <copy>    <x:processing-instruction name="toc"/>
194      <div id='toc' class='toc'>      <div id='toc' class='toc'>
195        <ul>        <ul>
196          <x:apply-templates select="//h:div[@class='body']/h:div[@class='section' or @class='section-nonum']|//h:div[@class='body']/h:div[@class='appendices']/h:div" mode="make-toc"/>          <x:apply-templates select="//h:div[@class='body']/h:div[@class='section' or @class='section-nonum']|//h:div[@class='body']/h:div[@class='appendices']/h:div" mode="make-toc"/>
197        </ul>        </ul>
198      </div>      </div>
199     </copy>    
200    </x:template>    </x:template>
201    
202    <x:template name="make-section-id">    <x:template name="make-section-id">
# Line 273  Line 273 
273    <x:key name="xrefs" match="h:div[(h:h1|h:h2|h:h3|h:h4|h:h5|h:h6)/h:a]" use="*/h:a/@id"/><!-- can only reference sections at the moment -->    <x:key name="xrefs" match="h:div[(h:h1|h:h2|h:h3|h:h4|h:h5|h:h6)/h:a]" use="*/h:a/@id"/><!-- can only reference sections at the moment -->
274    
275    <x:template match="h:span[@class='xref']">    <x:template match="h:span[@class='xref']">
276    <h:span class="xref">    <span class="xref">
277            
278      <x:variable name="id">      <x:variable name="id">
279        <x:choose>        <x:choose>
# Line 296  Line 296 
296      <a href='#{$id}'>      <a href='#{$id}'>
297        <x:apply-templates select="key('xrefs',$id)" mode="make-section-number"/>        <x:apply-templates select="key('xrefs',$id)" mode="make-section-number"/>
298      </a>      </a>
299    </h:span>    </span>
300    </x:template>    </x:template>
301    
302    <x:template match="h:span[@class='rcsinfo']">    <x:template match="h:span[@class='rcsinfo']">

Legend:
Removed from v.1246  
changed lines
  Added in v.1247

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