I've spent a few hours playing with the FW XML and FWAC java source, investigating the ideas I have regarding item handling. I did manage to get something running, albeit in a rudimentary manner. I've cover these briefly. XML file: ========= I updated my local copy of the 01HH XML file, modifying the item class entries to add extra information fields, for example: Picking up a mirror: <typ class="item">Mirror</typ> <typ class="item" type="backpack" event="pickup">Mirror</typ> Are you carrying a Mirror: <typ class="item">Mirror</typ> <typ class="item" type="backpack" event="check">Mirror</typ> XSL file: ========= I updated my XSL file, adding a section which replaced this item class with a span entry: <xsl:template match="typ[@class='item']"> <xsl:variable name="item-type" select="@type" /> <xsl:variable name="event-type" select="@event" /> <span class="item" type="{$item-type}" event="{$event-type}"><xsl:apply-templates /></span> </xsl:template> HTML File: ========== Once generated, the HTML resembles this (taken from 01HH, sect303) <li><span event="pickup" type="backpack" class="item">Telescope</span></li> CSS File: ========= When using a normal browser to view the HTML version of the books, the CSS needed to render the items in bold, so I added the following to the main.css file: .item { font-weight: bold; } FWAC: ===== I added more custom code to intercept these span entries and replace them with links in a similar method to that used for the combat links. The results are shown here: http://www.projectaon.org/staff/iain/ItemTest/Mozilla.jpg http://www.projectaon.org/staff/iain/ItemTest/FWAC.jpg (Ignore the dodgy colours in FWAC, it's still coded to use the LW scheme, so doesn't look quite right) I don't really intend to go ahead and follow this route any time soon since it will have a huge impact on the XML, XSL, etc but I wanted to check that what I was thinking was actually possible. On another related note, I'm currently looking into the possibility of making use of J-Rex within FWAC. This supposedly allows use of Mozilla's HTML renderer inside java applications. Not sure if it would be ultimately possible to make use of this, but figured its worth at least checking out. http://jrex.mozdev.org/ Regards, Iain. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com