Enhancement to XML Pretty Print
Posted: 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.:
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
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