Add anchor attribute to sections; add anchors to constitution

This commit is contained in:
David Bartley 2007-09-01 17:01:44 -04:00
parent 18f7727bf0
commit e2cf56d9fc
2 changed files with 16 additions and 13 deletions

View File

@ -6,12 +6,12 @@
<header /> <header />
<section title="1. Name"> <section title="1. Name" anchor="name">
<ol><li> The name of this organization shall be the "Computer Science Club <ol><li> The name of this organization shall be the "Computer Science Club
of the University of Waterloo".</li> of the University of Waterloo".</li>
</ol> </ol>
</section> </section>
<section title="2. Purpose"> <section title="2. Purpose" anchor="purpose">
<ol><li><a id="purpose">The Club</a> is organized and will be operated exclusively for educational <ol><li><a id="purpose">The Club</a> is organized and will be operated exclusively for educational
and scientific purposes in furtherance of: and scientific purposes in furtherance of:
<ul> <ul>
@ -34,7 +34,7 @@ decided by the club membership.</li>
</ol> </ol>
</section> </section>
<section title="3. Membership"> <section title="3. Membership" anchor="membership">
<ol> <ol>
@ -59,7 +59,7 @@ The membership fee is set from time to time by the Executive.</li>
</ol> </ol>
</section> </section>
<section title="4. Officers"> <section title="4. Officers" anchor="officers">
<ol><li> The officers of the Club shall be: <ol><li> The officers of the Club shall be:
<ol><li> President</li> <ol><li> President</li>
<li> Vice-President</li> <li> Vice-President</li>
@ -145,7 +145,7 @@ Such elections would be for all offices which are vacant.</li>
</ol> </ol>
</section> </section>
<section title="5. Duties of Officers"> <section title="5. Duties of Officers" anchor="duties">
<ol> <ol>
<li> The duties of the President shall be: <li> The duties of the President shall be:
@ -197,7 +197,7 @@ in <a href="#sysduties">7.2</a>.</li>
</li> </li>
</ol> </ol>
</section> </section>
<section title="6. Executive Council"> <section title="6. Executive Council" anchor="executive">
<ol> <ol>
<li> The executive council shall consist of the present officers of <li> The executive council shall consist of the present officers of
@ -213,7 +213,7 @@ all recent executive council decisions shall be announced at the next
regular meeting of the club.</li> regular meeting of the club.</li>
</ol> </ol>
</section> </section>
<section title="7. Committees"> <section title="7. Committees" anchor="committees">
<h3>1. Programme Committee</h3> <h3>1. Programme Committee</h3>
<ol><li>The programme committee shall be a standing committee.</li> <ol><li>The programme committee shall be a standing committee.</li>
<li> The programme committee shall plan and arrange meetings of the Club in <li> The programme committee shall plan and arrange meetings of the Club in
@ -264,7 +264,7 @@ temporary committees as is deemed necessary.</li>
</ol> </ol>
</section> </section>
<section title="8. Meetings"> <section title="8. Meetings" anchor="meetings">
<ol><li> General meetings of the Club shall <ol><li> General meetings of the Club shall
be called at times designated by the be called at times designated by the
@ -282,7 +282,7 @@ of the Club.</li>
</ol> </ol>
</section> </section>
<section title="9. Finances"> <section title="9. Finances" anchor="finances">
<ol> <ol>
@ -302,7 +302,7 @@ that the financial records are complete and accurate.</li>
</ol> </ol>
</section> </section>
<section title="10. Amendments and Procedures"> <section title="10. Amendments and Procedures" anchor="amendments">
<ol><li> Amendments to the constitution shall be made in the following <ol><li> Amendments to the constitution shall be made in the following
manner: manner:
@ -342,7 +342,7 @@ Club again within sixty (60) days.</li>
</ol> </ol>
</section> </section>
<section title="11. Dissolution"> <section title="11. Dissolution" anchor="dissolution">
<ol><li> In the event of dissolution of the Club, <ol><li> In the event of dissolution of the Club,
all assets of the Club shall be all assets of the Club shall be
transferred to the Mathematics Society of the University of Waterloo.</li> transferred to the Mathematics Society of the University of Waterloo.</li>
@ -350,7 +350,7 @@ transferred to the Mathematics Society of the University of Waterloo.</li>
</section> </section>
<section title="12. Use of Club Resources"> <section title="12. Use of Club Resources" anchor="resources">
<ol><li> All resources under control of the Club are to be used in accordance with <ol><li> All resources under control of the Club are to be used in accordance with
the aims of the Club.</li> the aims of the Club.</li>
@ -368,7 +368,7 @@ course, responsible to the person granting permission.</li>
</ol> </ol>
</section> </section>
<section title="Revision"> <section title="Revision" anchor="revision">
<p>The constitution was last revised on 5 February 2004.</p> <p>The constitution was last revised on 5 February 2004.</p>
</section> </section>

View File

@ -25,6 +25,9 @@
</xsl:template> </xsl:template>
<xsl:template match="section"> <xsl:template match="section">
<xsl:if test="@anchor">
<a name="{@anchor}" />
</xsl:if>
<h2><xsl:value-of select="@title" /></h2> <h2><xsl:value-of select="@title" /></h2>
<xsl:apply-templates /> <xsl:apply-templates />
</xsl:template> </xsl:template>