Re: [xsl] indent="yes" and <pre>

Subject: Re: [xsl] indent="yes" and <pre>
From: "Martynas Jusevicius" <martynas.jusevicius@xxxxxxxxx>
Date: Thu, 10 May 2007 18:49:48 +0200
Well, I'm using xml output method since I'm generating XHTML.

Martynas

On 5/10/07, David Carlisle <davidc@xxxxxxxxx> wrote:

> I have indent="yes" in the xsl:output, if you are using the html output method (which it sounds like you should be, if you are generating html) then the system is not allowed to add indentation space anywhere in anhtml element where it would cause a change in the visual rendering. There is no standard way to control the indentaion but some systems may offer extensions or options to control this.

If you are using the xml output method, then the system does not know
any of the html semantics and will treat all elements equally. Again
there is no standard way to control that.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________

Current Thread