On Tue, 2011-07-26 at 17:20 +0200, Jan Kotuc wrote:
> Hi y'all,
> 
> I'm using xsltproc to do some fairly easy transformations, but I've
> run into following problem: if I use as little as one <xsl:text>
> element in my stylesheet, the resulting file will be nowhere near
> pretty-printed, but garbled up into several mile-long lines.

You need to make a small test-case with
* a short XSLT stylesheet
* a short input document
* the output you get
* the output you expected to get

You need to say exactly which version of xsltproc you are using.

Note also that whitespace in a template will generally get copied to the
output unless you surround all non-whitespace text in the template with
xsl:text elements; the indent="yes" parameter obviously also makes a
difference.

Liam


_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to