On 12/20/05, Iain Smith <iainsmith@xxxxxxxxx> wrote:
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>
This is a step in a good direction, although we do have an "item" tag, so this could be:
<item type="backpack" event="pickup">Mirror</item>
Are you carrying a Mirror: <typ class="item">Mirror</typ> <typ class="item" type="backpack" event="check">Mirror</typ>
This would require a new element (or possibly just use an old one).
HTML File: ========== Once generated, the HTML resembles this (taken from 01HH, sect303) <li><span event="pickup" type="backpack" class="item">Telescope</span></li>
I'm not excited about the non-standard HTML attributes. :) I'm still trying to figure out the best way to store this kind of info while sticking to the standard.
-- Jon