XML

Reformat - When off, all white space and line breaks are preserved. However, tags are formatted (tag case, attribute case, etc.).

Indent - When on, nested tags will be indented one syntax indent level. Furthermore, if Reformat is on, the selected tag's CDATA content (i.e. plain text), bounded by the opening and closing tag, will be indented one syntax indent level.

Literal - When on, all white space and line breaks are preserved. In addition, tags within the content are treated as literal text. If Reformat is on, then leading indent is adjusted. This option is useful for

XHTML.

Tip

Some examples of content settings for specific tags are:

style - Literal (content is indented to the same level as the <style> open tag)

style - Reformat, Literal (content is indented one syntax indent level from the <style> open tag)

pre - All Content check boxes off

blockquote - Reformat, Indent

End tag - When on, the selected tag has an end tag. For XML you will normally want this to remain on.

End tag required - When on, the selected tag's ending tag is required. For XML you will normally want this to remain on.

Preserve tag body - When on, all properties of the body of the tag selected will be preserved. This is especially useful for processing instructions like <?xml ... ?> where you do not want the embedded text to be beautified.

Preserve tag position - When on, the position of the tag within the document is preserved. This is es- pecially useful with JSP/ASP tags where reindenting the tag would interrupt the flow of the script code.

Line breaks - Select the way lines are broken:

Before open tag - Specify the number of line breaks before the opening tag. For example, if you were to set the number of line breaks before the opening tag to 3 for the XHTML <td> tag, and the original content was:

<tr>

<td>

</td>

</tr>

The resulting content would be:

259

Page 281
Image 281
Slick V3.3 manual Blockquote Reformat, Indent