Use of Colors in the Text Tab

Stylus Studio text editors use colors to distinguish the types of data in XML documents. The default colors for the XML Editor are described in the Table 13.

Color
Type of Data
Royal blue
Markup
Black
XML declaration and text node contents
Pale blue
Schema definition
Purple
Element names defined in the DTD
Red
Attribute names
Dark blue
Attribute values
Orange
Element names not defined in the DTD
Table 13. Text Colors in Stylus Studio

How to Change Text Colors

You can set colors differently for the text editors associated with different document types (XML, XQuery, XSLT, and so on).

To change text colors:
1. Select Tools > Options to display the Options dialog box.
2. Click Editor Format.
3. Select the editor type from the Editor drop-down list.
4. Set the font, size, and color for different document elements as appropriate.
5. Click OK to close the Options dialog box.
 
Free Stylus Studio XML Training: