RE: XSLT Formatting output html

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 UTC