I only use Saxon and my current Saxon is version 9.0.0.2J.
Marijan (Mario) Madunic
Quoting Michael Kay <mike(_at_)saxonica(_dot_)com>:
So the processor I have is a dual core 2.00Ghz Intel chip and
2GB Ram. Not bad for a laptop.
I meant the XSLT processor, not the hardware. If you write the same XSLT
code in two different ways, one may be faster on one XSLT processor while
the other is faster on the other XSLT processor.
Michael Kay
http://www.saxonica.com/
Marijan (Mario) Madunic
Quoting Michael Kay <mike(_at_)saxonica(_dot_)com>:
Efficiency and speed depend entirely on the processor you
are using:
as always, the rule is to try some experiments that are
representative
of your particular situation.
I would have thought collection() was more convenient here,
but doc()
more portable.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Mario Madunic [mailto:hajduk(_at_)imag(_dot_)net]
Sent: 26 June 2008 14:52
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] which is more effiecient and fast doc() or
collection()
Working on converting an XSD to SVG (will hopefully look like
TURBOXML's lovely view). I'm mainly using doc() with a regex to
parse the various directories of XSD files. Since the XSD
is built
modularly and each element in its own file (I personally
do not like
reading XSDs or XSLTs (for that
matter) in one large file and have to scroll up and down to make
sense of it all, but that is another
discussion) meaning there are a lot of files. So before I test it
out and spend time on switching from doc() to
collection() I was hoping for some feedback.
Which is the better method? Which is faster or more efficient?
Marijan (Mario) Madunic
--~-----------------------------------------------------------------
- XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--