xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: simple problem of getting line breaks in the output


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>&#10;</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



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor