In the HTML and XML specification, pre-defined tags are used to represent text attributes such as bold, italic and underline. The sentence below shows how a statement containing some bold and italic text may be  represented in XML using inline tags such as <bold> and <italic>.

Consider the sentence:

point.bmp

A Brave New World was written by Huxley!

This is represented in XML as follows:

point.bmp

A <bold>Brave New World</bold>was written by <italic>Huxley!</italic>

When ezParse processes this sentence, it will break it into 4 segments, each delimited by a tag boundary:

point.bmp

A

point.bmp

Brave New World

point.bmp

was written by

point.bmp

Huxley!

 
However, it would be rather difficult for a translator to work on these four segments individually. You can programme ezParse to combine segments automatically when processing XML documents. You do this by defining inline tags.

If you define <bold> and <italic> as inline tags, ezParse will process this sentence and store it as one segment. It will display this segment in the Translators Toolbar as follows:-

point.bmp

image56.gif

For more information, see Defining XML Rules.