[EMAIL PROTECTED] wrote:
So I have a master stylesheet that imports other stylesheets that each do
there own thing. Three render HTML pages, one renders JPEG's, two render
PDF's.
That's one of the more strange architectures i've heard of.
BTW i can't believe the stylesheets render JPEGs and PDF,
i'd rather assume the produce SVG and FO respectively,
which is then fed to the appropriate renderers.
Is there a way to set the output to XML in 3 of the stylesheets and
HTML in the other 3?
XSLT is desingned with *one* result tree in mind. Therefore
you can only set one global output method. Check the spec
at http://www.w3.org/TR/xslt#output
You are probably usinf Xalans redirect-functionality. Check
the documentation whether it allows you to specify an
individual output method per redirection. You need the
XML output methods for the SVG and XSLFO streams.
WHY I THINK I NEED ISO-8859-1 ENCODING:
This is only slightly relevant to your problem. Using the HTML
output method has some other drawbacks beside generating
entities for characters.
Or should I
just have the XML renderd stuff under one stylesheet and make another
stylesheet to do the HTML stuff?
Consider it. There are other methods for conveniently building a heap
of stuff in one step: ant, plain old windows batch files, Unix
shell scripts (cygwin for windows), make, Perl scripts...
XSLT was never meant to be a general purpose scripting language.
J.Pietschmann