Reviewed by Maciej.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2007 10:00:38 +0000 (10:00 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jul 2007 10:00:38 +0000 (10:00 +0000)
commit0d5c6798b92fc92e56555d671553e42b47fa1e36
treefdcfd0d7df95735c40cb3eb10e1bbba7bcaa53ea
parent4d35552e4e8bf4b1110f0d73c6e84c4145a47ba8
    Reviewed by Maciej.

        http://bugs.webkit.org/show_bug.cgi?id=14525
        Support exslt:node-set()

        Test: fast/xsl/exslt-node-set.xml

        * xml/XSLTExtensions.cpp: Added.
        (WebCore::exsltNodeSetFunction): A copy of exslt:node-set() implementation
        from libexslt 1.1.11 (shipped with Tiger).
        (WebCore::registerXSLTExtensions): This function registers any WebCore-provided
        extensions on a context. Currently, the only extension is exslt:node-set().
        * xml/XSLTExtensions.h: Added.

        * xml/XSLTProcessor.cpp:
        (WebCore::XSLTProcessor::transformToString):
        Register extensions when creating a context.

        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        Add XSLTExtensions.{h,cpp} to projects.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/xsl/exslt-node-set-expected.txt [new file with mode: 0644]
LayoutTests/fast/xsl/exslt-node-set.xml [new file with mode: 0644]
LayoutTests/fast/xsl/exslt-node-set.xsl [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/WebCoreSources.bkl
WebCore/xml/XSLTExtensions.cpp [new file with mode: 0644]
WebCore/xml/XSLTExtensions.h [new file with mode: 0644]
WebCore/xml/XSLTProcessor.cpp