Home › Forums › General XMetaL Discussion › ‘lines too long’ error message › Reply To: ‘lines too long’ error message
Reply to: ‘lines too long’ error message
January 14, 2009 at 9:08 pmYou sort of understand, but perhaps a little bit backwards.
Pretty Printing is enabled in the CTM's
NewLineAfterStartTag
NewLineBeforeStartTag
BlankLineAfterStartTag
BlankLineBeforeStartTag
NewLineAfterEndTag
NewLineBeforeEndTag
BlankLineAfterEndTag
BlankLineBeforeEndTag
IndentContent
In addition to those 9 you can use the following for elements that should not have their content modified (usually used for elements whose content that may contain whitespace that is significant, such as the equivalent of a pre element in XHTML).
PreserveSpace
So, you would enable pretty printing for the DTD and then turn it on for those elements you need pretty printed, in your case setting it on row and nothing else might be good enough.