This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: simple problem of getting line breaks in the output
- To: xsl-list at mulberrytech dot com
- Subject: Re: simple problem of getting line breaks in the output
- From: Mike Brown <mike at skew dot org>
- Date: Sat, 29 Apr 2000 12:04:49 -0600 (MDT)
- Reply-To: xsl-list at mulberrytech dot com
> The output I get is :
> <?xml version="1.0" encoding="UTF-8"?>
> <constant>reading</constant><constant>singing</constant>
>
> but the output I need is:
> <?xml version="1.0" encoding="UTF-8"?>
> <constant>reading</constant>
> <constant>singing</constant>
In your stylesheet, add <xsl:output method="xml" indent="yes"/> to your
stylesheet after the xsl:stylesheet element (not always guaranteed to
work). Or, insert <xsl:text> </xsl:text> after the </constant>.
- Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/ http://www.webb.net/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list