xsl-list
[Top] [All Lists]

[xsl] formatting attributes

2014-06-12 18:25:39
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.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] formatting attributes, Ihe Onwuka ihe(_dot_)onwuka(_at_)gmail(_dot_)com <=