I don't know what a XSLT "default stylesheet" is -- checking the XSLT Rec for "default" is not showing any place where this is defined. (I believe browsers have them, but that wouldn't be applicable for our discussion here.)
But if his input XML is already XSL-processable (perhaps indicated by the fact that only a default stylesheet would be needed to "transform" it), I think FOP can do this already. How about: fop -fo abc.xml -pdf abc.pdf Glen --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > You're welcome to write a patch for the code in CVS > HEAD so we have this > feature ready when we're ready to start releasing > again. Obviously, this > isn't implemented in FOP 0.20.5. > > On 03.03.2005 06:55:01 Roland Neilands wrote: > > Hi all, > > > > I have an interesting question: > > Can FOP use the XML default stylesheet instead of > having one specified? > > > > eg > > PI in test.xml: > > <?xml-stylesheet type="text/xsl" href="test.xsl"?> > > > > >xalan -in test.xml -out test.fo > > >fop test.fo -pdf test.pdf > > >fop -xml test.xsl -pdf test.pdf > > > > works fine, but to do it in one step: > > >fop -xml test.xml -pdf test.pdf > > gives usage screen +: > > [ERROR] XSLT file must be specified for the > tranform mode > > > > Obviously this works: > > >fop -xml test.xml -xsl test.xsl -pdf test.pdf > > but I would prefer to let this be specified per > xml file if possible. > > > > Any comments appreciated. > > > Jeremias Maerki > > > --------------------------------------------------------------------- > 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]
