|
Rank: Newbie
Joined: 2/14/2008 Posts: 3 Location: Colorado
|
Hello everyone,
I'm wondering if there is a way to configure pretty print in XMLSpy 2008. My problem is that I'm using it to write documentation with DocBook. Certain tags are rendered exactly as they look in the code, spaces and all. The problem is that pretty print puts every opening tag on its own line and indents them. This is fine and helpful for 99% of the tags, but not those that are rendered as they appear in the code becuase the spaces and new lines are added to my final document output.
So is there a way to configure pretty print so that it ignores certain tags or so I can tell it to not indent/newline certain tags?
Thanks for your help.
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
There is an option which probably fits your needs. Under Tools/Options/File there is a list of element names which should not be formatted anyhow "No output formatting for". Add the elements you mean and try again.
|
|
Rank: Newbie
Joined: 2/14/2008 Posts: 3 Location: Colorado
|
Perfect! Thanks Vlad, that was exactly what I was looking for.
|
|
guest |