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

XSLT Formatting output html

From: Adz07 <adam@7sycamore.co.uk>
Date: Tue, 9 Oct 2007 04:43:49 -0700 (PDT)
Message-ID: <13113845.post@talk.nabble.com>
To: xmlschema-dev@w3.org

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.html#a13113845
Sent from the w3.org - xmlschema-dev mailing list archive at Nabble.com.
Received on Tuesday, 9 October 2007 12:42:08 GMT

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