Project

Profile

Help

Support #1845 » firefox.xsl

Martynas Jusevicius, 2013-07-23 16:00

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ixsl="http://saxonica.com/ns/interactiveXSLT"
xmlns:prop="http://saxonica.com/ns/html-property"
xmlns:style="http://saxonica.com/ns/html-style-property"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs prop"
extension-element-prefixes="ixsl"
version="2.0"
xpath-default-namespace="http://www.w3.org/1999/xhtml"
>
<xsl:template name="main"/>

<xsl:template match="input[contains(@class, 'typeahead')]" mode="ixsl:onkeyup">
<xsl:value-of select="ixsl:call(ixsl:window(), 'loadTypeaheadXML', 'test')"/>
</xsl:template>
<xsl:template match="ixsl:window()" mode="ixsl:ontypeaheadCallback">
<xsl:message>CALLBACK!</xsl:message>
</xsl:template>

</xsl:stylesheet>
(1-1/3)