« Return to Thread: XSLT Formatting output html

XSLT Formatting output html

by Adz07 :: Rate this Message:

Reply to Author | View in Thread

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


 « Return to Thread: XSLT Formatting output html