Subject: RE: [xsl] want to process file from STDIN From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 6 Nov 2003 22:43:54 -0000 |
I don't think this works in 6.5.3, it's a more recent development. Michael Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Shipra Dingare > Sent: 06 November 2003 18:35 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: [xsl] want to process file from 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] want to process file from, Shipra Dingare | Thread | RE: [xsl] variable binding, Michael Kay |
RE: [xsl] using xsl attribute tags, Michael Kay | Date | [xsl] Passing DTD as systemID into , Pramodh Peddi |
Month |