Format and Indent - Inserts line break
Posted: Tue Aug 14, 2007 10:27 pm
I have the following settings in standalone version 8.2, but Format and Indent is still inserting a line break in the attribute list.
What other settings do I need to prevent this?
Line width - format and indent = 1000
Indent size = 4 spaces
[ ] Break line before attribute's name
[ x ] Preserve empty lines
[ x ] Preserve text as it is
[ x ] Preserve line breaks in attributes
I want my code to look like this:
Instead, it looks like this:
Please advise.
What other settings do I need to prevent this?
Line width - format and indent = 1000
Indent size = 4 spaces
[ ] Break line before attribute's name
[ x ] Preserve empty lines
[ x ] Preserve text as it is
[ x ] Preserve line breaks in attributes
I want my code to look like this:
Code: Select all
<xsl:variable name="a" select="if (b)
then b
else if (c)
then c
else d" />
Instead, it looks like this:
Code: Select all
<xsl:variable name="a"
select="if (b)
then b
else if (c)
then c
else d" />