The sub element

On this page:

Description

The sub element is employed to indicate that the text in the alias attribute value replaces the contained text for pronunciation.
Consult Speech Synthesis Markup Language (SSML) Version 1.1 for further information.

Possible children

This element may contain text only.

Possible parents

annotation, annotation, m:annotation-xml, aside, aside, block, caption, caption, cite, d, definition, emph, entry, entry, expansion, xforms:group, h, hd, hpart, item, item, l, xforms:label, label, meta, note, object, sel:otherwise, p, ssml:prosody, quote, quote, its:rb, ref, xforms:repeat, its:rt, s, span, spine, td, th and sel:when

Content model

[text] Text content

Namespace

http://www.w3.org/2001/10/synthesis

This element belongs to the feature «SSML (Speech Synthesiser Markup Language) Integration»

Attributes

Name Presence Description
alias Required No further information about this attribute is available.
Value: Any string
class Optional
Value: Some value of type NMTOKENS
its:dir Optional The its:dir attribute is used to specify the base writing direction of the content. If not specified, the default value ltr is assumed.
Consult Internationalization Tag Set (ITS) for further information.
This attribute belongs to the feature «ITS Ruby»
Value:

One of

lro
ltr
rlo
rtl
xml:base Optional
Value: Some value of type anyURI
xml:id Optional
Value: Some value of type ID
xml:lang Optional The xml:lang attribute is used to identify the natural or formal language in which the content is written.
Consult Extensible Markup Language (XML) 1.0 for further information.
Value:

One of

• value(s) of type language
• one of: af, az, be, bg, bo, bs, ca, ce, cs, cy, da, de, el, en, eo, es, et, eu, fa, ff, fi, fj, fo, fr, fy, ga, gd, gl, gn, gu, gv, ha, he, hi, ho, hr, ht, hu, hy, hz, ia, id, ie, ig, ii, ik, in, io, is, it, iu, iw, ja, ji, jv, jw, ka, kg, ki, kj, kk, kl, km, kn, ko, kr, ks, ku, kv, kw, ky, la, lb, lg, li, ln, lo, lt, lu, lv, mg, mh, mi, mk, ml, mn, mo, mr, ms, mt, my, na, nb, nd, ne, ng, nl, nn, no, nr, nv, ny, oc, oj, om, or, os, pa, pi, pl, ps, pt, qu, rm, rn, ro, ru, rw, sa, sc, sd, se, sg, sh, si, sk, sl, sm, sn, so, sq, sr, ss, st, su, sv, sw, ta, te, tg, th, ti, tk, tl, tn, to, tr, ts, tt, tw, ty, ug, uk, ur, uz, ve, vi, vo, wa, wo, xh, yi, yo, za, zh or zu
xml:space Optional
Value:

One of

default
preserve

Additional Information