cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

off pretty print option

bm-2
3-Newcomer

off pretty print option

Hi,

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

Thanks in Advance,

Balaji. M

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

5 REPLIES 5

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

TimPhelps
12-Amethyst
(To:bm-2)

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?

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

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.

rdiaz
12-Amethyst
(To:bm-2)

Hi Balaji,

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

Announcements

Top Tags