Working with schemes, Xml/html formatting scheme configuration dialog – Slick EDIT V3.3 User Manual

Page 303

Advertising
background image

ate or open in SlickEdit

®

Core will be wrapped, but no Tag Layout settings will be applied. The second

screen shot (the Current Document Options dialog) reflects that the global setting for Tag Layout is dis-
abled. Therefore it cannot be enabled for the current document. To enable it for the current document,
you would first need to enable the global setting by placing a check next to Format

XML/HTML

Formatting

Enable HTML Formatting

Tag Layout. Then you can use the Current Document Op-

tions dialog to enable it for the current document.

Working with Schemes

A formatting scheme is comprised of any number of individually-configurable XML or HTML tags and con-
trols the formatting of your text when XML/HTML Formatting is enabled. You can create different
schemes for use with either XML or HTML, and/or different schemes for use with different individual files.
For example, you may want one scheme for HTML and a different scheme for XML. Or, you may want
one scheme for creating new files and another for editing existing files.

Schemes are stored as XML files in the format <SchemeName>.xml, and are located in the formats-

chemes/xwschemes

subdirectory of your user configuration directory. Scheme files can be shared or

checked into version control to ensure consistency in the formatting of your team’s XML/HTML files.

Use the XML/HTML Formatting Scheme Configuration dialog to work with schemes. You can access the
dialog from Window

Preferences

SlickEdit

General

XML/HTML Formatting, or by using the

xml_html_options command. Available schemes are listed in the Schemes column. The tags that make
up each scheme are listed in the Tags column.

Figure 7.32. XML/HTML Formatting Scheme Configuration Dialog

Working with Schemes

281

Advertising