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

formatting attributes

Subject: formatting attributes
From: "Ihe Onwuka ihe.onwuka@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Jun 2014 23:25:29 -0000
 formatting attributes
Have coded a template that outputs an element with 4 attributes

 <elem attr1="{blah}"
           attr2="{moreBlah}"

etc

and this mirrors the output...that is the attributes are spread over 4
lines for each element.

I wanted one line per element and accomplished this by doing an xmlllint on
the output with the format  flag switched on. However I  was wondering
whether same was not achieveable from XSLT, or will it religiously
replicate the newlines from the template rule.

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.