Thanks. That's helped a lot. I've also tracked down the customoutput.dtd (it's not in the folder that the Help file says it is). Worked out the Saving Throw issue but trying to work out Speed now. The generic xml says:
<movement>
<speed text="30'" value="30"/>
<basespeed text="30'" value="30"/>
</movement>
but I can't work out how to convert that into xsl. I've tried all sorts of variants (like <xsl:value-of select="speed/@text"/>) but no joy so far.
I'm teaching myself XSL/XML for this project though so it's a bit of a learning curve
Thanks again, much appreciated.