« Return to Thread: XSLT Formatting output html

RE: XSLT Formatting output html

by Michael Kay :: Rate this Message:

Reply to Author | View in Thread


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

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

> -----Original Message-----
> From: xmlschema-dev-request@...
> [mailto:xmlschema-dev-request@...] On Behalf Of Adz07
> Sent: 09 October 2007 12:44
> To: xmlschema-dev@...
> 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.
>
>
>


 « Return to Thread: XSLT Formatting output html