Page 1 of 1

XProc and indent

Posted: Wed Oct 03, 2012 3:33 pm
by psychomachine
Hi,

I am starting to build an XProc pipeline which will contain several transformations, validations etc. At the moment, however, I am confused by a seemingly simple problem.

I am testing my .xpl directions using two xsl stylesheets. Each of these stylesheets has an

Code: Select all

<xsl:output indent="yes" omit-xml-declaration="no"/>
and applying these stylesheets individually, I get nicely indented code.

If, however, I run an XProc transformation scenario that contains these two stylesheets, the result is not indented at all, but shows up in Oxygen as a long, one-line file. Also, the xml declaration is missing.

Does anybody know why this would be the case?

Any tips would be greatly appreciated.

Tench