X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebKitSite%2Fprojects%2Fxslt%2Findex.html;h=1eec0dd260ac73d8e203b93ae45f9321d9f22080;hp=6cc263e119714db94e65a273fa61de90173e00e0;hb=be91071b16a3dbdf7a7f94d1e07c060352cfaee9;hpb=28b3df5a1564f576b71c41432ba5a7726d91ff1c diff --git a/WebKitSite/projects/xslt/index.html b/WebKitSite/projects/xslt/index.html index 6cc263e11971..1eec0dd260ac 100644 --- a/WebKitSite/projects/xslt/index.html +++ b/WebKitSite/projects/xslt/index.html @@ -1,25 +1,10 @@ - - - - - XSLT - - + - - - - - +

XSLT

- - -

Overview

Welcome to the project page for WebKit's XSLT implementation. XSLT is a W3C standard for defining how to transform source XML @@ -39,7 +24,7 @@ and source XML and produces result text that is then fed back into WebKit for pa

Get Involved!

-

+

View bugs in the XSLT component on OpenDarwin.

@@ -47,25 +32,23 @@ View bugs in the XSLT component on OpenDarwin. to webkit-dev@opendarwin.org or comment in the appropriate bug.

-
XSL transformations block the user interface +
XSL transformations block the user interface
The XSLTProcessor that performs the transformation using libxslt does so on the UI thread. Therefore a transformation that takes a long time to complete will block the UI of a WebKit application. The code should be restructured so that both synchronous and asynchronous transformations are allowed, since until JavaScript can be suspended/resumed a synchronous transformation mode must be possible in order for a JS API for XSL transformations to work. -
The document() function is not supported
+
The document() function is not supported
The document() capability of XSLT is not supported. XSLT's loader API (the one used to load stylesheets) needs to be used in order to synchronously load and hand back an XML document. This code could be similar to (or possibly reuse) the sync code for XMLHttpRequests. -
Implement Mozilla's XSLTProcessor JS object
+
Implement Mozilla's XSLTProcessor JS object
Right now the only way XSLT can be used in WebKit is through the use of client-side processing instructions in the source XML. Mozilla offers a programmatic API for performing transformations from JS through an XSLTProcessor object. The following document on the Mozilla Web site describes this JS API. We would like to match this API exactly.
- -