Re: [xsl] Saxon for windows?

Subject: Re: [xsl] Saxon for windows?
From: "M. David Peterson" <m.david.x2x2x@xxxxxxxxx>
Date: Fri, 3 Jun 2005 10:10:03 -0600
Excellent point George :)

Extending from my earlier post regarding having to save a transform to
the file system...  If I bring a transformation made from the
commanline within my C# application and process it further what
happens when I need to then implement an XSLT 2.0 or XQuery 1.0
transformation from the commandline?  From a Web Services perspective
this isn't an issue... but chaining in XML that has long since left
the commandline process is going to be an interesting feat.
Impossible?  For a clever developer I would never suggest
impossible... Practicle?  Reliable? Reasonable?  Sorry, none of the
above even come close to reality.  The simplest approach would be to
save the file to the file system and then reimpliment a new
transformation utilizing this file.

Which brings us back to George's point.  Firing the Java VM back up
takes time...  And again, this is not native to anything...  its a way
to work around things when there are no other options.  Fortunately
there are.

On 6/3/05, George Cristian Bina <george@xxxxxxx> wrote:
> Hi Pieter,
>
>  > It's actually quite simple. I'm using a process class which allows me to
>  > capture StdOut and StdErr, and that runs a process in the background.
The
>  > background process can be anything that runs via a command line, and the
>  > best is that it runs completely independent (in Windows this just
> means on
>  > another thread). While threads compete with each other for CPU time,
when
>  > the process runs, the main thread just waits for its output, which means
>  > that the child thread can use all CPU available, thus maximum
> performance is
>  > guaranteed (under normal circumstances and no other tasks running
> assumed).
>
> What about the java start up time? You will add that at each run.
> And if you run the transformation only once then I think you will not
> get the best of Java either - I always hear that if you want to measure
> how much time a stylesheet takes for processing you should not look at
> the times of the first runs.
>
> My 2 cents...
>
> Regards,
> George
> ---------------------------------------------------------------------
> George Cristian Bina
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
>


--
<M:D/>

M. David Peterson
http://www.xsltblog.com

Current Thread