[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

formatting xml output: inserting newlines between gene

Subject: formatting xml output: inserting newlines between generated attributes
From: "Abie Hamaoui" <ahama5@xxxxxxxxxxx>
Date: Mon, 08 Sep 2003 15:17:52 +0000
insert newline in xml
hello,
I want to be able to generate an xml element using <xsl:element/attribute, etc. such that the output xml file has a newline between each attribute. my hunch is that this is impossible in current tools b/c xml is content- rather than display- oriented, but I wanted to at least ask.


(the usefulness of this feature would be in debugging - for human readability, and also in order to be able to grep on an attribute name and have returned a set of lines that contain only that attribute for a bunch of elements.)
***
an example xml output file would be:
<a
attrib1="val1"
attrib2="val2"
attrib3="val3"/>


thanks in advance.
abie

_________________________________________________________________
Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es



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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.