Enhancement to XML Pretty Print

Are you missing a feature? Request it's implementation here.
drmacro
Posts: 10
Joined: Fri Jul 16, 2004 11:25 pm

Enhancement to XML Pretty Print

Post by drmacro » Thu Jan 20, 2005 7:29 pm

I would like to have the option of having attributes stacked under their tags. I work a lot with FO. In my XSLT code I like to put each attribute on a separate line, e.g.:

Code: Select all


  <fo:block-container
text-indent="2pc"
font-family="Helvetica"
start-indent="7pc"
>

At the moment, pretty print wraps the attributes in one long line, which I then have to undo.

Also, it would be nice if indention within a tag was used as the default indent when breaking lines, so that I don't have to tab in on each line when I do have to break long lists of attributes to get back to the above layout.

Thanks,

Eliot
----
Eliot Kimber
Innodata Isogen