Defining a Parser rule to highlight structure - example
We create a parser rule that causes the translation editor to display the document structure information in yellow.
About this task
This example builds on the topic Example - Creating an XML File type, XML-Letter, and assumes you have created the XML file type XML-Letters.
Procedure
To see the effect:
Procedure
- Open the example letter file (
example-xml-file-letter.xmlin the editor. Look at the entries in the document structure column and note that<salutation>entries are in yellow. - To see all the structure information for that element, click an entry in the document structure column.