Re: [xslt] crappy formatting with <xsl:text>
- From: Liam R E Quin <liam holoweb net>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] crappy formatting with <xsl:text>
- Date: Tue, 26 Jul 2011 15:31:22 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]