This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XT & indentation...not quite working?


Hi teemu

And its even worse if you are using the document() function. But if you are
not using this function, the latest version should indent properly.

cheers
Didier PH Martin
----------------------------------------------
Email: martind@netfolder.com
Conferences: Web New York (http://www.mfweb.com)
Book: XML Pro published by Wrox Press
Products: http://www.netfolder.com

-----Original Message-----
From: owner-xsl-list@mulberrytech.com
[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Teemu Ropponen
Sent: Thursday, February 24, 2000 8:21 AM
To: xsl-list@mulberrytech.com
Cc: Farooq
Subject: XT & indentation...not quite working?


Hi,

As suggested in a message a couple of weeks ago, I tried using

<xsl:output method="xml" indent="yes">

when processing w/ XT, to try to get indented output.I get a decent
output, with one tag per line, but not an indented one. Is this the way XT
works at the moment, or am I doing something wrong?? IS there a way to
"beautify" the output?

Regards,
Teemu

P.S. The stylesheet starts as follows:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:fo="http://www.w3.org/1999XSL/Format"
                xmlns:xt="http://www.jclark.com/xt"
                version="1.0"
                extension-element-prefixes="xt"
                result-ns="http://www.w3.org/1999/XSL/Format">

<xsl:output method="xml" indent="yes"/>

<xsl:template match="movies">
bla bla bla...

---------------------------------------------------------------------
Teemu Ropponen					troppone@tcm.hut.fi
student/research assistant
Telecom. Software and Multimedia Lab.		http://www.tcm.hut.fi
Helsinki University of Technology, Finland
---------------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]