Skip to main content
1-Visitor
February 14, 2014
Solved

off pretty print option

  • February 14, 2014
  • 3 replies
  • 1840 views

Hi,

I want turn off pretty print option. Is it possible?

Thanks in Advance,

Balaji. M

    Best answer by TimPhelps

    Infinity is one long line for the entire document.

    Not all tags are allowed to have \n placed after them, because the \n could seen as a space as defined by the DTD, i.e. CDATA

    Also the xml standard allows \n to be insert before an end tag delimeter

    ......</element

    >.........

    This can be enabled or disabled using the writenobreakattag variable.

    3 replies

    1-Visitor
    October 16, 2014

    Anyone see this (that knows if it's possible or not, and how to turn it off?)

    I have the same question (Unanswered since Feb 14 - 8 Months) Is there a way to turn off 'pretty print' word wrapping in Arbortext at the 80 character/column point?

    Thanks for all reads/replies. Even a 'No' is better than nothing, thanks.

    Regards,

    Bob W.

    Bristol RI, US

    12-Amethyst
    October 16, 2014

    It is unclear what you mean when you say "print pretty" option.

    If you are talking about record lengths, then one can adjust the outputrecordlength or the editselectionrecordlength from 40 to infinity.

    The default values are 72.

    Is the area that you are talking about?

    1-Visitor
    October 16, 2014

    Presumably - That would be the 'code' for word wrap character length? If so, if I reset/remove that to 'infinity' will it wrap at the end of a tag? Or am I going to wind up with a one line XML file of a gazillion (slightly less than infinity) characters with my entire XML file on a single line?

    Dunno - ideally it would be nice if there were a way to have Arbortext do line returns ( \n ? ) at the end of a tag maybe?

    Just wondering.

    Thanks for the reply.

    Regards,

    Bob W.

    Bristol, RI, US

    TimPhelps12-AmethystAnswer
    12-Amethyst
    October 16, 2014

    Infinity is one long line for the entire document.

    Not all tags are allowed to have \n placed after them, because the \n could seen as a space as defined by the DTD, i.e. CDATA

    Also the xml standard allows \n to be insert before an end tag delimeter

    ......</element

    >.........

    This can be enabled or disabled using the writenobreakattag variable.

    5-Regular Member
    October 31, 2014

    Hi Balaji,

    Were you all set with this, or did you have more questions?