action
<xsl:template match="action">
script(
<xsl:value-of select="@type"/>
, ActionList) :- ActionList = [
<xsl:apply-templates/>
skip, ], !.
</xsl:template>