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.

Regards,
Roland Neilands
Pulse Mining Systems Pty Ltd
w +612 49 333300
f +612 49 336732
e [EMAIL PROTECTED]

This e-mail is solely for the use of the intended recipient and may contain 
information which is confidential or privileged. Unauthorised use of its 
contents is prohibited. If you have received this e-mail in error, please 
notify the sender immediately via return e-mail and then delete the original 
e-mail. Any views or opinions presented are solely those of the author.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to