[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Problems with nested lists
I am continuing to have problems with nested lists: specifically, that the numbering notation seems to be somewhat random in its selection of different notation at different points in the list. Attached is a source XML file, the XSL used to transform it (just a wrapper for the DocBook xsl - you will need to modify it to point to your own location) and the HTML that is generated. I have been using Michael Kay's "Instant Saxon" on a Windows XP machine. Any help appreciated... Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.
<?xml version="1.0"?>
<article id="colonization">
<artheader>
<title>Colonization</title>
<subtitle>A game for the piecepack</subtitle>
<titleabbrev></titleabbrev>
<pubdate>2002-05</pubdate>
<edition>2.2</edition>
<authorgroup>
<author>
<firstname>Ken</firstname><surname>Leyhe</surname>
<affiliation>
<address>
<email></email>
</address>
</affiliation>
</author>
</authorgroup>
<copyright>
<year>2002</year>
<holder>Kenneth Leyhe Sr.</holder>
</copyright>
<revhistory>
<revision>
<revnumber>2.2</revnumber>
<date>2002-05-01</date>
<authorinitials>kl</authorinitials>
<revremark></revremark>
</revision>
</revhistory>
</artheader>
<sect1 role="equipment">
<title>Equipment</title>
<para>
1 piecepack (<ulink url="http://www.piecepack.org">http://www.piecepack.org</ulink>).
</para>
</sect1>
<sect1 role="objective">
<title>Objective</title>
<para>As an interstellar explorer your mission is to colonize more planets then the other species before you run out of time.</para>
</sect1>
<sect1 role="setup">
<title>Setup</title>
<orderedlist>
<listitem><para>Each player takes a pawn and a set of coins from the same suit. These represent a player's ship and power reserves respectively.</para></listitem>
<listitem><para>Remove the four null tiles and place them, face-up, in four separate locations on the table. These represent the suns in each of the four solar systems.</para></listitem>
<listitem><para>Each player places his pawn on one of the four suns.</para></listitem>
<listitem><para>The remaining tiles are shuffled and placed facedown to the side. These represent planets.</para></listitem>
<listitem><para>On tiles and coins an Ace has a value of 1 and a Null has a value of 0.</para></listitem>
</orderedlist>
</sect1>
<sect1 role="gameplay">
<title>Play</title>
<para>On a players turn he may do one of the following five actions:
<orderedlist numeration="upperalpha">
<listitem><para>Draw and place a planet.</para></listitem>
<listitem><para>Colonize a planet.</para></listitem>
<listitem><para>Roll die and move ship.</para></listitem>
<listitem><para>Play a coin and move ship.</para></listitem>
<listitem><para>Restore power reserves.</para></listitem>
</orderedlist>
</para>
<orderedlist numeration="upperalpha">
<listitem><para>Draw and place a planet.
<orderedlist>
<listitem><para>A planet's suit determines the solar system it will be played to.</para></listitem>
<listitem><para>The value of the planet determines where in the solar system it will be placed.
<orderedlist>
<listitem><para>If the planet is the first to be added to a solar system it is placed to the right of the sun.</para></listitem>
<listitem><para>If the value is higher then the last planet to be played in that system it is added to the current string of planets.</para></listitem>
<listitem><para>If the value is lower then the last planet to be played in that system it is added to the sun.</para></listitem>
</orderedlist>
</para></listitem>
</orderedlist>
</para></listitem>
<listitem><para>Colonize a planet.
<orderedlist>
<listitem><para>The player must be on the planet he wishes to colonize.</para></listitem>
<listitem><para>Only planets can be colonized, a sun cannot.</para></listitem>
<listitem><para>A player must have coins left in his stash to colonize.</para></listitem>
<listitem><para>If the planet is not colonized the player can attempt to colonize it.
<orderedlist>
<listitem><para>The player determines if any coins will be used for colonization.</para></listitem>
<listitem><para>The player rolls the die and adds the value of any coins used.</para></listitem>
<listitem><para>With the exception of an Ace planet, if the modified roll is higher then the planet's value the player has colonized it.
<orderedlist>
<listitem><para>The player discards any coins used for the roll.</para></listitem>
<listitem><para>The player places a coin on the planet to show the colony.</para></listitem>
</orderedlist>
</para></listitem>
<listitem><para>An Ace planet can only be colonized by using a Null or Ace coin or rolling a Null or Ace on the die. If the player uses a Null or Ace coin or rolls a Null or Ace then the player has colonized the planet. The same rules for success still apply.</para></listitem>
<listitem><para>If the modified roll is unsuccessful the player discards any coins used and ends his turn.</para></listitem>
</orderedlist>
</para></listitem>
<listitem><para>If the planet is colonized by another player you must first destroy the existing colony.
<orderedlist>
<listitem><para>The player rolls the die.
<orderedlist>
<listitem><para>If the roll is equal to or higher then the value of the colony it is destroyed, unless it is a value 0 colony.</para></listitem>
<listitem><para>If the value of the colony is 0 only a roll of a Null or Ace can destroy it.</para></listitem>
<listitem><para>If the roll is less then the value of the colony the attempt is failed.</para></listitem>
<listitem><para>If the colony is destroyed it is removed from play.</para></listitem>
</orderedlist>
</para></listitem>
<listitem><para>Once a colony has been destroyed, the player may, on his next turn attempt to colonize the planet.</para></listitem>
</orderedlist>
</para></listitem>
</orderedlist>
</para></listitem>
<listitem><para>Roll die and move ship.
<orderedlist>
<listitem><para>Two ships may never be on the same planet, but they may pass each other.</para></listitem>
<listitem><para>Several factors determine what moves a player can make when he rolls the die.
<orderedlist>
<listitem><para>If a player rolls a Null he may warp to another systems sun as long as it is unoccupied.</para></listitem>
<listitem><para>If a player is on a planet on which he owns a colony and he rolls an Ace he may warp to any planet of the same value that is unoccupied.</para></listitem>
<listitem><para>If the player rolls an Ace through five he may move a number of planets up to his roll with two exceptions.
<orderedlist>
<listitem><para>He may not leave the system he is in (except where noted above).</para></listitem>
<listitem><para>To move onto or through a planet with an opponent's colony counts as two moves.</para></listitem>
</orderedlist>
</para></listitem>
</orderedlist>
</para></listitem>
</orderedlist>
</para></listitem>
<listitem><para>Play a coin and move ship.
<orderedlist>
<listitem><para>You may discard your Null coin and move to any unoccupied sun.</para></listitem>
<listitem><para>If you are on a planet you have a colony on and you have a coin that has the same value you may warp to an unoccupied planet with the same value in another system.</para></listitem>
</orderedlist>
</para></listitem>
<listitem><para>Restore power reserves.
<orderedlist>
<listitem><para>The game ends when a player has no more coins left. At this point all other players are allowed one last move.</para></listitem>
<listitem><para>Scores are tallied and the highest scoring player wins.
<informaltable frame="all">
<tgroup cols="2">
<colspec colwidth="2*"/>
<colspec colwidth="1*"/>
<thead>
<row><entry>Colonies</entry><entry>Score Awarded</entry></row>
</thead>
<tbody>
<row><entry>Each planet colonized.</entry><entry>Points equal to the value of the planet.</entry></row>
<row><entry>Each colony on an Ace planet.</entry><entry></entry></row>
<row><entry>Each colony where the value of the colony equals the value of the planet.</entry><entry>+ 2 points</entry></row>
<row><entry>Player has five colonies at the end of the game.</entry><entry>+ 3 points</entry></row>
<row><entry>Player has six colonies at the end of the game.</entry><entry>+ 5 points</entry></row>
</tbody>
</tgroup>
</informaltable>
</para></listitem>
</orderedlist>
</para></listitem>
</orderedlist>
</sect1>
<sect1 role="licensing">
<title>Licensing</title>
<para role="license">
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found at <ulink url="http://www.gnu.org/copyleft/fdl.htm">http://www.gnu.org/copyleft/fdl.html</ulink>.
</para>
</sect1>
</article>
<?xml version="1.0"?> <!-- ====================================================================== --> <!-- --> <!-- @author boardgamesbook@yhaoo.com --> <!-- @version v 1.0 2004-01-01 22:27:58 --> <!-- --> <!-- ====================================================================== --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <!-- import primary stylesheet --> <xsl:import href="file:///d:/docs/web/docbook/xsl/html/docbook.xsl" /> <!-- request parameters --> <xsl:param name="generate.toc"></xsl:param> <xsl:param name="formal.title.placement">figure after</xsl:param> <xsl:param name="xref.with.number.and.title">0</xsl:param> <xsl:param name="admon.style"></xsl:param> </xsl:stylesheet>Title: Colonization
A game for the piecepackCopyright © 2002 Kenneth Leyhe Sr. 2002-05
1 piecepack (http://www.piecepack.org). As an interstellar explorer your mission is to colonize more planets then the other species before you run out of time.
On tiles and coins an Ace has a value of 1 and a Null has a value of 0. On a players turn he may do one of the following five actions:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html. | |||||||||||||||||||||
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]