W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2007

RE: XSLT Formatting output html

From: Michael Kay <mike@saxonica.com>
Date: Tue, 9 Oct 2007 15:14:24 +0100
To: "'Adz07'" <adam@7sycamore.co.uk>, <xmlschema-dev@w3.org>
Message-ID: <003701c80a7e$b34a7ee0$4063a8c0@turtle>

Please send XSLT coding queries to the xsl-list at mulberrytech.com

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Adz07
> Sent: 09 October 2007 12:44
> To: xmlschema-dev@w3.org
> Subject: XSLT Formatting output html
> 
> 
> Firstly, sorry if this is the wrong mailing list.
> 
> I am probably being really stupid but;
> 
> Can anyone tell me if it is possible to keep the tabbing 
> inside a XSL file defining output HTML?
> Every thing i try in the XSL (output options etc) makes the 
> source of the page display without any tabs?
> 
> Say for example i have this XSL template:
> 
> <xsl:template match="/">
> <html>
>     <head>
>         <title><xsl:apply-templates select="pagetitle" /></title>
>     </head>
>     ...
> </html>
> </xsl:template>
> 
> the ouput of the page source becomes like the following 
> (without tabs):
> 
> <html>
> <head>
> <title>This is the title</title>
> </head>
> ....
> </html>
> 
> is there a way to keep it like:
> 
> <html>
>     <head>
>         <title>This is the title</title>
>     </head>
>     ...
> </html>
> 
> Thanks,
> Adam
> 
> 
> 
> --
> View this message in context: 
> http://www.nabble.com/XSLT-Formatting-output-html-tf4593641.ht
> ml#a13113845
> Sent from the w3.org - xmlschema-dev mailing list archive at 
> Nabble.com.
> 
> 
> 
Received on Tuesday, 9 October 2007 14:14:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:00 GMT