31. Did you change that?
You respond to an event in XSLT by writing templates in a mode that corresponds to the category of event.
Suppose, for example, you wanted to respond when someone changed a
selectpulldown.The event that fires when you change an HTML element is the “
change” event.If you write a template in the
ixsl:onchangemode, it will fire when the element changes. For example:<xsl:template match="select" mode="ixsl:onchange">…</xsl:template>
Generally, you can respond to any “eventname”
event by writing a template in the “ixsl:oneventname”
mode.