XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Lee HumphriesSubject: Feature Request: Tweak to Indenting function
Author: Lee Humphries
Date: 18 Jul 2002 07:17 PM
I've been trying the Indent XML tags function on some of our XML documents and there's one thing it does which just detracts from its usefulness and that is the way it inserts line breaks within empty element tag pairs.

e.g. If I have two elements like this:
<Elem1>Something</Elem1><Elem2></Elem2>
They will get formatted like this:
<Elem1>Something</Elem1>
<Elem2>
</Elem2>

This can render the document invalid if Elem2 is 'empty'

Can the Indent behaviour be changed to leave empty element tags together?

Posttop
Alberto MassariSubject: Re: Feature Request: Tweak to Indenting function
Author: Alberto Massari
Date: 22 Jul 2002 11:50 AM
Hi Lee,

At 19.31 18/07/2002 -0400, you wrote:
>From: "Lee Humphries"
[...]
>Can the Indent behaviour be changed to leave empty element tags together?

The next update of Stylus will include this fix.

Thanks for the report,

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.