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

Re: Saxon for windows?

Subject: Re: Saxon for windows?
From: "M. David Peterson" <m.david.x2x2x@xxxxxxxxx>
Date: Fri, 3 Jun 2005 10:10:03 -0600
peterson 3 processus
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

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.