Subject: Re: simple problem of getting line breaks in the output
From: Mike Brown <mike@xxxxxxxx>
Date: Sat, 29 Apr 2000 12:04:49 -0600 (MDT)
|
> 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
|