Glen, Thanks, I will just have to pass another tag through & keep using -xsl then.
Regards, Roland > -----Original Message----- > From: Glen Mazza [mailto:[EMAIL PROTECTED] > Sent: Friday, 4 March 2005 2:17 PM > To: [EMAIL PROTECTED] > Subject: RE: Default stylesheet > > > --- Roland Neilands <[EMAIL PROTECTED]> > wrote: > > > [ERROR] Expected XSL-FO (root, page-sequence, etc.), > > SVG (svg, rect, etc.) or el > > ements from another supported language. > > > > I think FOP can do it, it just needs to not set the > > -xsl flag and/or this error turned into a warning: > > "[ERROR] XSLT file must be specified for the > > tranform mode" > > ie let xalan spit the error if there's no processing > > instruction. > > > > But the user is not necessarily using Xalan, we use > JAXP internally, which is XSLT-processor-agnostic, and > I'm unsure but doubtful that the xml-stylesheet > processing instruction can be supported by JAXP. > > Best option here is to just specify -xsl { filename } > at the command line, just use the filename you have in > the XML document. That's what all the other > command-line users do, whether or not they bother with > the xml-stylesheet PI. Apparently xml-stylesheet[1] > is mainly for browsers anyway. > > HTH, > Glen > > [1] http://www.dpawson.co.uk/xsl/sect2/N6145.html#d7755e169 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]