10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XML and HTML<br />

Features for XML and HTML are described below. See also XML/HTML Formatting.<br />

XML<br />

XML AND HTML<br />

XML features in <strong>SlickEdit</strong>® include Context Tagging®, validation, well-formedness checking, a beautifier,<br />

Color Coding, URL Mapping, Syntax Expansion, and Syntax Indenting for XML, XSLT, and schemas (DTD<br />

or XSD).<br />

For information about working with Ant XML files for Java, see Build Methods for Ant and NAnt.<br />

XML Toolbar<br />

The XML toolbar is available for quickly accessing common XML operations. To display the XML toolbar,<br />

from the main menu, click View > Toolbars > XML. By default, three buttons are available:<br />

• Beautify selection or entire buffer - Use this button to instantly beautify the current file according<br />

to the Beautifier settings. See XML Beautifier for more information.<br />

• Validate XML document - Use this button to validate an XML file against a DTD or schema. The<br />

results of the validation are displayed in the Output tool window. If there are errors during<br />

validation, you can double-click on the error line and the appropriate file will be opened and moved<br />

to the specified line.<br />

• Check for Well-Formedness - Use this button to check if the document is well-formed according<br />

to XML syntax rules.<br />

XML Formatting Options<br />

Content in XML and HTML files may be set to automatically wrap and format as you edit, through the XML/<br />

HTML Formatting feature. See XML/HTML Formatting for complete information.<br />

Other miscellaneous tag and attribute options are provided through the XML Formatting Options screen.<br />

To access these options, from the main menu, click Tools > Options > Languages, expand XML/Text<br />

Languages > XML, then click XML Formatting Options.<br />

TIP You can also display the XML Formatting Options screen by clicking the XML Options button on<br />

the XML/HTML Formatting Scheme Configuration dialog (see XML/HTML Formatting Scheme<br />

Configuration Dialog).<br />

<strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong> 375

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!