[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: What is the fastest XSLT parser

Subject: RE: What is the fastest XSLT parser
From: "bryan" <bry@xxxxxxxxxx>
Date: Fri, 18 Oct 2002 13:45:00 +0200
xslt parser windows
If something is taking 30 hrs on msxml then I think you've probably got
a code problem, there's likelihood of stack overflow with msxml if
recursion is improperly used.

As a general rule msxml is pretty fast. By which I mean it tends to be
the fastest in most use cases I see. Notice the 'I see' delimiter on
that statement. Speed ain't everything though.

 Your node functions I'm betting are node-set() functions which is an
extension function, i.e msxml:node-set($mynode)/*

Works if msxml is a prefix associated with the namespace
"urn:schemas-microsoft-com:xslt" in msxml, however this does not mean
you can just switch your namespace declaration to xalan as xalan does
not name it's node-set function node-set() but rather nodeset(); thus if
you want your xslt to run on both processors you should use xsl:fallback
and function-exists() etc. to provide a fallback mechanism for the cases
when using a processor that does not support mynamespace:node-set()

Xalan currently supports exslt http://www.exslt.org/
http://xml.apache.org/xalan-j/extensionslib.html

therefore it should be possible to switch your namespace to the exslt
namespace and in that way escape from the problem of having a node-set
function named nodeset and not node-set()
http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/ExsltCommon.h
tml


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Thomas V.
Nielsen
Sent: Friday, October 18, 2002 1:23 PM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject:  What is the fastest XSLT parser

What is the fastest XSLT parser on a Windows 32-bit platform.

So far I have tried Microsoft's Command-line utility, which invokes what
ever version of MSXML there is installed.
But a job on this one, that took 30 hours took only 5 minutes in
Xalan/Xerces testXSLT command-line utility.

However, I still have to figure out, that when I use these parsers as
command-line, some of my XLST Node Functions doesn't work properly, but
when
I use XMLSpy that again uses MSXML, the result is okay.

That's a bit annoying not to be able to rely on the result 100%

<Thomas/>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.