If you're on Java look at
xml-xalan/java/src/org/apache/xalan/xsltc/utils/JavaCupRedirect.java
for an example of redirecting stuff to stdin.  It's
not exactly your situation but should give some hints
if you wanted to write a ProcessRedirect wrapper
class.

Oh, wait, nevermind. 8-) testXSLT is Xalan-C 1.x.
It is an interesting feature idea (having a -stdinXML
arg somewhere on the command line of our command line
Process classes that sucks the XML file from stdin
instead of a file) - patches doing this are welcome.
- Shane

---- you [EMAIL PROTECTED] wrote ----
>We would like to be able
> to pipe the XML document into testXSLT via STDIN as
opposed to specifying
> an input file.  Our xml files are stored in a custom
document storage
> system and it would be handier to be able to pipe
the buffer into testXSLT
> - right now we have to write out a temp file and
point testXSLT to the
> tempfile (and delete it later).


=====
<eof aka="mailto:[EMAIL PROTECTED]";
 humor="Having fun at JavaOne!" />

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Reply via email to