Hallo Thomas,
<xsl:text disable-output-escaping="yes"><?php getState('box1')?></xsl:text>
Dann bekommt der OP aber ein "PHP-Kindelement" von input, also etwa <input ...><?php ... ?></input>
Das passiert auch damit:
<xsl:processing-instruction name="php">
xsl:textgetState('box1')</xsl:text>
</xsl:processing-instruction>
Es sollte aber so aussehen:
<input ... <?php ... ?> />
AFAIK ist das mit XSLT-Mitteln nur so hinzubekommen:
<xsl:text disable-output-escaping="yes"><input type="checkbox" onchange="this.form.submit()" name="</xsl:text><xsl:value-of select="@id"/><xsl:text disable-output-escaping="yes">" <?php getState('box1')?> /></xsl:text>
Vielleicht hast Du noch eine bessere Idee.
MfG, Thomas