Conforming > Importing Subtitle XML > Subtitle XML Syntax >
Title Elements

Each <title></title> element defines a single subtitle which will appear as a Text soft effect applied to a gap once imported into Flame, and added to a timeline.

The font style, colour, size, and position parameters are overridden if a valid text setup file is referenced within the <title> element.

<start></start>

Description | The start timecode of the current subtitle
Attributes | none
Sample | <start>01:00:01;00</start>

<end></end>

Description | The end timecode of the current subtitle
Attributes | none
Sample | <end>01:00:02;00</end>

<text></text>

Description | The text of the current subtitle To insert a carriage return, add &#13; to the text.
Attributes | none
Sample | <text>This is a&#13; subtitle string</text>

<font></font>

Description | The font of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element.
Attributes | none
Sample | <font>Garamond</font>

<size></size>

Description | The font size of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element.
Attributes | none
Sample | <size>20</size>

<fontcolor></fontcolor>

Description | This element wraps around the font colour elements (<alpha>, <red>, <blue>, <green>) of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element.
Attributes | <alpha></alpha> The <alpha> colour component of the font of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element. <red></red> The <red> colour component of the font of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element. <green></green> The <green> colour component of the font of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element. <blue></blue> The <blue> colour component of the font of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element.
Sample | <fontcolor> <alpha>255</alpha> <red>255</red> <green>255</green> <blue>255</blue> </fontcolor>

<vertical></vertical>

Description | The vertical text position of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element.
Attributes | none
Sample | <vertical>0</vertical>

<horizontal></horizontal>

Description | The horizontal text position of the current subtitle. This value is overridden if a valid text setup file is referenced in the <setup> element.
Attributes | none
Sample | <horizontal>0</horizontal>

<setup></setup>

Description | The <setup> element can point to a text setup file from which font style and position parameters will be used. The parameters from the text setup file override corresponding elements within the current <title> element.
Attributes | none
Sample | <setup>/usr/discreet/project/test/text/paz.ttg</setup>