Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi,
I want turn off pretty print option. Is it possible?
Thanks in Advance,
Balaji. M
Solved! Go to Solution.
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.
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
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.
Hi Balaji,
Were you all set with this, or did you have more questions?