mozilla

Revision 236614 of XSLT 2.0

  • Revision slug: XSLT_2.0
  • Revision title: XSLT 2.0
  • Revision id: 236614
  • Created:
  • Creator: Brettz9
  • Is current revision? No
  • Comment rmv now unnecessary line; 10 words removed

Revision Content

For users

Although XSLT 2.0 is not natively supported in Firefox, it is possible (via Saxon-B) to perform XSLT 2.0.  

The XSL Results extension uses the new incarnation of LiveConnect (handled by Java 1.6v12+ instead of Mozilla-specific code) to connect with the Java-based Saxon-B library, and adds support for having XSLT performed automatically when visiting a page with the appropriate XSLT processing instruction (and which isn't processed by Firefox's own XSLT 1.0 processor).

For developers

The extension demonstrates how one can use LiveConnect code to communicate with the Saxon-B library, but one might find the JavaScript code module approach used inside the extension XqUSEme as a more reusable approach.

The code does not currently work on the Mac (except for server edition supporting Java 1.6) due to its lagging Java support (and thus LiveConnect support).

{{ languages( { "fr": "fr/XSLT_2.0" } ) }}

Revision Source

<h3 name="For_users">For users</h3>
<p>Although XSLT 2.0 is not natively supported in Firefox, it is possible (via <a class="external" href="http://saxonica.com">Saxon-B</a>) to perform <a class="external" href="http://www.w3.org/TR/xslt20/">XSLT 2.0</a>.  </p>
<p>The <a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/5023">XSL Results</a> extension uses the new incarnation of LiveConnect (handled by Java 1.6v12+ instead of Mozilla-specific code) to connect with the Java-based Saxon-B library, and adds support for having XSLT performed automatically when visiting a page with the appropriate XSLT processing instruction (and which isn't processed by Firefox's own XSLT 1.0 processor).</p>
<h3 name="For_developers">For developers</h3>
<p>The extension demonstrates how one can use LiveConnect code to communicate with the Saxon-B library, but one might find the JavaScript code module approach used inside the extension <a class=" link-https" href="https://addons.mozilla.org/en-US/firefox/addon/5515" title="https://addons.mozilla.org/en-US/firefox/addon/5515">XqUSEme</a> as a more reusable approach.</p>
<p>The code does not currently work on the Mac (except for server edition supporting Java 1.6) due to its lagging Java support (and thus LiveConnect support).</p>
<p>{{ languages( { "fr": "fr/XSLT_2.0" } ) }}</p>
Revert to this revision