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

RE: want to process file from STDIN

Subject: RE: want to process file from STDIN
From: Shipra Dingare <sdingar1@xxxxxxxxxxxx>
Date: Thu, 6 Nov 2003 18:34:48 +0000 (GMT)
saxon stdin
I'm sorry, where do I put the dash? 
I've tried 

 cat /partition/ltg/users/sdingar1/BIO/DATA_T1A/devtest.pos.xml |  java com.icl.saxon.StyleSheet -  mergeNPs.ltxml.nxl 

and 

 cat /partition/ltg/users/sdingar1/BIO/DATA_T1A/devtest.pos.xml |  java 
com.icl.saxon.StyleSheet mergeNPs.ltxml.nxl  -

I'm using Saxon 6.5.3
-Shipra




On Thu, 6 Nov 2003, Michael Kay wrote:

> > 
> > Is it possible to use saxon to apply a stylesheet to a file 
> > that is read 
> > from STDIN - I would like to apply a series of stylesheets in 
> > a pipeline. Regards, Shipra
> > 
> In recent releases you can use "-" to indicate input from standard
> input.
> 
> But this isn't the best way of doing a pipeline. You don't need to
> serialize the result tree and then parse it again. You can create a
> pipeline of SAX filters, either by using the JAXP APIs, or by using the
> saxon:next-in-chain extension.
> 
> Also, using standard input suffers from the fact that it doesn't have a
> known base URI, which means that relative URIs in the document cannot be
> resolved.
> 
> Michael Kay
> 
> 
>  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.