Re: [xslt] crappy formatting with <xsl:text>
- From: Jan Kotuc <jkotuc gmail com>
- To: Nick Wellnhofer <wellnhofer aevum de>
- Cc: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] crappy formatting with <xsl:text>
- Date: Wed, 27 Jul 2011 17:38:10 +0200
Thanks, than is there a way to achieve the desired output without
using the <xsl:text> element?
Jan
On 7/27/11, Nick Wellnhofer <wellnhofer aevum de> wrote:
> That's the way the indenting works in libxml2. As soon as an element
> containing a text node is found, indenting is disabled for all the
> contents of that element. So if you had something like the following,
> everything should work as expected:
>
> <another-element>
> <xsl:text disable-output-escaping="yes">&some-link-name;</xsl:text>
> </another-element>
>
> If the entity reference must be created inside the chapter element, then
> I don't think there's a way to achieve indenting.
>
> Nick
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]