XProc and indent

Having trouble installing Oxygen? Got a bug to report? Post it all here.
psychomachine
Posts: 8
Joined: Mon Jun 02, 2008 5:50 pm

XProc and indent

Post 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