| 1 |
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- --> |
| 2 |
<!-- |
| 3 |
This program is free software; you can redistribute it and/or modify it under |
| 4 |
the terms of the GNU Lesser General Public License as published by the Free |
| 5 |
Software Foundation; either version 2 of the License, or (at your option) any |
| 6 |
later version. |
| 7 |
|
| 8 |
This program is distributed in the hope that it will be useful, but WITHOUT |
| 9 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 10 |
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
| 11 |
details. |
| 12 |
|
| 13 |
You should have received a copy of the GNU Lesser General Public License |
| 14 |
along with this program; see the file COPYING.LGPL. If not, see <http://www.gnu.org/licenses/>. |
| 15 |
--> |
| 16 |
|
| 17 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 18 |
xmlns:tt="http://www.w3.org/ns/ttml" |
| 19 |
xmlns:ttp="http://www.w3.org/ns/ttml#parameter" |
| 20 |
xmlns:exsl="http://exslt.org/common" |
| 21 |
xmlns:str="http://exslt.org/strings" |
| 22 |
xmlns="http://www.w3.org/1999/xhtml" |
| 23 |
exclude-result-prefixes="tt ttp" |
| 24 |
extension-element-prefixes="exsl str" |
| 25 |
version="1.0"> |
| 26 |
|
| 27 |
<!--!!========================================================================== |
| 28 |
TTML Utilities |
| 29 |
Common templates to help with processing TTML documents. |
| 30 |
@revision[version=3.4 date=2012-03-01 status=final] |
| 31 |
|
| 32 |
This stylesheet contains common utilities for working with TTML documents. |
| 33 |
It contains templates for checking profiles and processing timing data. |
| 34 |
--> |
| 35 |
|
| 36 |
|
| 37 |
<!--@@========================================================================== |
| 38 |
ttml.features |
| 39 |
The supported features and extensions for TTML documents. |
| 40 |
@evision[version=3.4 date=2012-03-01 status=final] |
| 41 |
|
| 42 |
This parameter lists the fully-qualified URIs of TTML features and extensions |
| 43 |
supported by the stylesheets. The values are in the form of a space-separated |
| 44 |
list, which MUST have both a leading and a trailing space. |
| 45 |
|
| 46 |
The default value for this parameter is empty. Importing stylesheets should |
| 47 |
set this to an appropriate value. |
| 48 |
--> |
| 49 |
<xsl:param name="ttml.features" select="''"/> |
| 50 |
|
| 51 |
|
| 52 |
<!--**========================================================================== |
| 53 |
ttml.time.range |
| 54 |
Return the absolute begin and end times for a timed element. |
| 55 |
@revision[version=3.4 date=2012-03-02 status=final] |
| 56 |
|
| 57 |
[xsl:params] |
| 58 |
$node: The element containing timing attributes. |
| 59 |
$range: The absolute range for the parent element. |
| 60 |
$begin: The value of the `begin` attribute. |
| 61 |
$end: The value of the `end` attribute. |
| 62 |
$dur: The value of the `dur` attribute. |
| 63 |
|
| 64 |
This template returns the start and end time for a TTML element, based on the |
| 65 |
`begin`, `end`, and `dur` attributes. It returns each of them as numbers |
| 66 |
of seconds, as returned by {ttml.time.seconds}, separated by a comma. Begin |
| 67 |
and end times are returned as absolute times, relative to the computed range |
| 68 |
of the parent element. The parent range may be passed in the $range parameter. |
| 69 |
If the parameter is empty, the parent range is computed automatically by calling |
| 70 |
this template on the nearest ancestor of $node with a `begin` attribute. |
| 71 |
|
| 72 |
If both $end and $dur are provided, the end times for each are calculated, |
| 73 |
and the one that results in the shortest duration is used. |
| 74 |
|
| 75 |
If there is no end time for the element, the string `∞` is used as the end time. |
| 76 |
--> |
| 77 |
<xsl:template name="ttml.time.range"> |
| 78 |
<xsl:param name="node" select="."/> |
| 79 |
<xsl:param name="range"/> |
| 80 |
<xsl:param name="begin" select="$node/@begin"/> |
| 81 |
<xsl:param name="end" select="$node/@end"/> |
| 82 |
<xsl:param name="dur" select="$node/@dur"/> |
| 83 |
<xsl:variable name="range_"> |
| 84 |
<xsl:choose> |
| 85 |
<xsl:when test="$range != ''"> |
| 86 |
<xsl:value-of select="$range"/> |
| 87 |
</xsl:when> |
| 88 |
<xsl:otherwise> |
| 89 |
<xsl:variable name="par" select="$node/ancestor::tt:*[@begin][1]"/> |
| 90 |
<xsl:choose> |
| 91 |
<xsl:when test="$par"> |
| 92 |
<xsl:for-each select="$par"> |
| 93 |
<xsl:call-template name="ttml.time.range"/> |
| 94 |
</xsl:for-each> |
| 95 |
</xsl:when> |
| 96 |
<xsl:otherwise> |
| 97 |
<xsl:value-of select="'0,∞'"/> |
| 98 |
</xsl:otherwise> |
| 99 |
</xsl:choose> |
| 100 |
</xsl:otherwise> |
| 101 |
</xsl:choose> |
| 102 |
</xsl:variable> |
| 103 |
<xsl:variable name="begin_s"> |
| 104 |
<xsl:call-template name="ttml.time.seconds"> |
| 105 |
<xsl:with-param name="time" select="$begin"/> |
| 106 |
</xsl:call-template> |
| 107 |
</xsl:variable> |
| 108 |
<xsl:value-of select="number(substring-before($range_, ',')) + number($begin_s)"/> |
| 109 |
<xsl:text>,</xsl:text> |
| 110 |
<xsl:variable name="end_dur"> |
| 111 |
<xsl:choose> |
| 112 |
<xsl:when test="$dur"> |
| 113 |
<xsl:variable name="dur_s"> |
| 114 |
<xsl:call-template name="ttml.time.seconds"> |
| 115 |
<xsl:with-param name="time" select="$dur"/> |
| 116 |
</xsl:call-template> |
| 117 |
</xsl:variable> |
| 118 |
<xsl:value-of select="number($dur_s) + number(substring-before($range_, ',')) + number($begin_s)"/> |
| 119 |
</xsl:when> |
| 120 |
<xsl:otherwise> |
| 121 |
<xsl:value-of select="'∞'"/> |
| 122 |
</xsl:otherwise> |
| 123 |
</xsl:choose> |
| 124 |
</xsl:variable> |
| 125 |
<xsl:variable name="end_end"> |
| 126 |
<xsl:choose> |
| 127 |
<xsl:when test="$end"> |
| 128 |
<xsl:variable name="end_s"> |
| 129 |
<xsl:call-template name="ttml.time.seconds"> |
| 130 |
<xsl:with-param name="time" select="$end"/> |
| 131 |
</xsl:call-template> |
| 132 |
</xsl:variable> |
| 133 |
<xsl:variable name="end_ss" select="number(substring-before($range_, ',')) + number($end_s)"/> |
| 134 |
<xsl:choose> |
| 135 |
<xsl:when test="substring-after($range_, ',') = '∞'"> |
| 136 |
<xsl:value-of select="$end_ss"/> |
| 137 |
</xsl:when> |
| 138 |
<xsl:when test="number(substring-after($range_, ',')) < $end_ss"> |
| 139 |
<xsl:value-of select="substring-after($range_, ',')"/> |
| 140 |
</xsl:when> |
| 141 |
<xsl:otherwise> |
| 142 |
<xsl:value-of select="$end_ss"/> |
| 143 |
</xsl:otherwise> |
| 144 |
</xsl:choose> |
| 145 |
</xsl:when> |
| 146 |
<xsl:otherwise> |
| 147 |
<xsl:value-of select="substring-after($range_, ',')"/> |
| 148 |
</xsl:otherwise> |
| 149 |
</xsl:choose> |
| 150 |
</xsl:variable> |
| 151 |
<xsl:choose> |
| 152 |
<xsl:when test="$end_end = '∞'"> |
| 153 |
<xsl:value-of select="$end_dur"/> |
| 154 |
</xsl:when> |
| 155 |
<xsl:when test="$end_dur = '∞'"> |
| 156 |
<xsl:value-of select="$end_end"/> |
| 157 |
</xsl:when> |
| 158 |
<xsl:when test="number($end_end) < number($end_dur)"> |
| 159 |
<xsl:value-of select="$end_end"/> |
| 160 |
</xsl:when> |
| 161 |
<xsl:otherwise> |
| 162 |
<xsl:value-of select="$end_dur"/> |
| 163 |
</xsl:otherwise> |
| 164 |
</xsl:choose> |
| 165 |
</xsl:template> |
| 166 |
|
| 167 |
|
| 168 |
<!--**========================================================================== |
| 169 |
ttml.time.seconds |
| 170 |
Return the number of seconds for a time expression. |
| 171 |
@revision[version=3.4 date=2012-03-02 status=final] |
| 172 |
|
| 173 |
[xsl:params] |
| 174 |
$time: A TTML time expression. |
| 175 |
|
| 176 |
This template takes a time expression as used by the `begin`, `end`, and `dur` |
| 177 |
attributes and returns the number of seconds that expression respresents. Time |
| 178 |
expressions may be any number parsable by the XPath `number` function followed |
| 179 |
by one of the units `ms` (milliseconds), `s` (seconds), `m` (minutes), or `h` |
| 180 |
(hours). It returns `0` if the time expression is invalid. |
| 181 |
|
| 182 |
This template provides support only for the `#time-offset` TTML feature. It |
| 183 |
does not support other methods of specifying times. |
| 184 |
--> |
| 185 |
<xsl:template name="ttml.time.seconds"> |
| 186 |
<xsl:param name="time" select="0"/> |
| 187 |
<xsl:variable name="time_" select="normalize-space($time)"/> |
| 188 |
<xsl:choose> |
| 189 |
<xsl:when test="substring($time_, string-length($time_) - 1) = 'ms'"> |
| 190 |
<xsl:variable name="ms"> |
| 191 |
<xsl:value-of select="substring($time_, 1, string-length($time_) - 2)"/> |
| 192 |
</xsl:variable> |
| 193 |
<xsl:value-of select="number($ms) div 1000"/> |
| 194 |
</xsl:when> |
| 195 |
<xsl:when test="substring($time_, string-length($time_)) = 's'"> |
| 196 |
<xsl:value-of select="substring($time_, 1, string-length($time_) - 1)"/> |
| 197 |
</xsl:when> |
| 198 |
<xsl:when test="substring($time_, string-length($time_)) = 'm'"> |
| 199 |
<xsl:value-of select="60 * number(substring($time_, 1, string-length($time_) - 1))"/> |
| 200 |
</xsl:when> |
| 201 |
<xsl:when test="substring($time_, string-length($time_)) = 'h'"> |
| 202 |
<xsl:value-of select="3600 * number(substring($time_, 1, string-length($time_) - 1))"/> |
| 203 |
</xsl:when> |
| 204 |
<xsl:otherwise> |
| 205 |
<xsl:value-of select="0"/> |
| 206 |
</xsl:otherwise> |
| 207 |
</xsl:choose> |
| 208 |
</xsl:template> |
| 209 |
|
| 210 |
|
| 211 |
<!--**========================================================================== |
| 212 |
ttml.profile |
| 213 |
Check whether the stylesheets conform to a `ttp:profile` element. |
| 214 |
@revision[version=3.4 date=2012-03-01 status=final] |
| 215 |
|
| 216 |
[xsl:params] |
| 217 |
$node: The `ttp:profile` element to check. |
| 218 |
|
| 219 |
This template takes a `ttp:profile` element in the $node parameter and |
| 220 |
determines whether or not the stylesheets meet all required features and |
| 221 |
extensions, per section 5.2 of the TTML 1.0 recommendation. This template |
| 222 |
uses the {ttml.features} stylesheet parameter to determine which features |
| 223 |
are supported by the stylesheet. It returns the string `"true"` if all |
| 224 |
required features are supported, `"false"` otherwise. |
| 225 |
--> |
| 226 |
<xsl:template name="ttml.profile"> |
| 227 |
<xsl:param name="node" select="."/> |
| 228 |
<xsl:variable name="features"> |
| 229 |
<xsl:if test="$node/@use"> |
| 230 |
<xsl:variable name="uri"> |
| 231 |
<xsl:if test="not(contains($node/@use, ':'))"> |
| 232 |
<xsl:text>http://www.w3.org/ns/ttml/profile/</xsl:text> |
| 233 |
</xsl:if> |
| 234 |
<xsl:value-of select="$node/@use"/> |
| 235 |
</xsl:variable> |
| 236 |
<xsl:choose> |
| 237 |
<xsl:when test="$uri = 'http://www.w3.org/ns/ttml/profile/dfxp-presentation'"> |
| 238 |
<xsl:for-each select="str:split($ttml.features.dfxp_presentation)"> |
| 239 |
<ttp:feature value="required"> |
| 240 |
<xsl:value-of select="."/> |
| 241 |
</ttp:feature> |
| 242 |
</xsl:for-each> |
| 243 |
</xsl:when> |
| 244 |
<xsl:when test="$uri = 'http://www.w3.org/ns/ttml/profile/dfxp-transformation'"> |
| 245 |
<xsl:for-each select="str:split($ttml.features.dfxp_transformation)"> |
| 246 |
<ttp:feature value="required"> |
| 247 |
<xsl:value-of select="."/> |
| 248 |
</ttp:feature> |
| 249 |
</xsl:for-each> |
| 250 |
</xsl:when> |
| 251 |
<xsl:when test="$uri = 'http://www.w3.org/ns/ttml/profile/dfxp-full'"> |
| 252 |
<xsl:for-each select="str:split($ttml.features.dfxp_full)"> |
| 253 |
<ttp:feature value="required"> |
| 254 |
<xsl:value-of select="."/> |
| 255 |
</ttp:feature> |
| 256 |
</xsl:for-each> |
| 257 |
</xsl:when> |
| 258 |
<xsl:otherwise> |
| 259 |
<xsl:variable name="use_profile" select="document($uri, $node)/ttp:profile"/> |
| 260 |
<xsl:for-each select="$use_profile/ttp:features/ttp:feature | |
| 261 |
$use_profile/ttp:extensions/ttp:extension"> |
| 262 |
<ttp:feature value="{@value}"> |
| 263 |
<xsl:if test="not(contains(., ':'))"> |
| 264 |
<xsl:value-of select="ancestor-or-self::*[@xml:base][1]/@xml:base"/> |
| 265 |
</xsl:if> |
| 266 |
<xsl:value-of select="normalize-space(.)"/> |
| 267 |
</ttp:feature> |
| 268 |
</xsl:for-each> |
| 269 |
</xsl:otherwise> |
| 270 |
</xsl:choose> |
| 271 |
</xsl:if> |
| 272 |
<xsl:for-each select="$node/ttp:features/ttp:feature | $node/ttp:extensions/ttp:extension"> |
| 273 |
<ttp:feature value="{@value}"> |
| 274 |
<xsl:if test="not(contains(., ':'))"> |
| 275 |
<xsl:value-of select="ancestor-or-self::*[@xml:base][1]/@xml:base"/> |
| 276 |
</xsl:if> |
| 277 |
<xsl:value-of select="normalize-space(.)"/> |
| 278 |
</ttp:feature> |
| 279 |
</xsl:for-each> |
| 280 |
</xsl:variable> |
| 281 |
<xsl:variable name="ok"> |
| 282 |
<xsl:for-each select="exsl:node-set($features)/ttp:feature"> |
| 283 |
<xsl:if test="@value != 'optional'"> |
| 284 |
<xsl:variable name="feature" select="string(.)"/> |
| 285 |
<xsl:if test="not(following-sibling::ttp:feature[string(.) = $feature][@value = 'optional'])"> |
| 286 |
<xsl:if test="not(contains($ttml.features, concat(' ', $feature, ' ')))"> |
| 287 |
<xsl:text>x</xsl:text> |
| 288 |
</xsl:if> |
| 289 |
</xsl:if> |
| 290 |
</xsl:if> |
| 291 |
</xsl:for-each> |
| 292 |
</xsl:variable> |
| 293 |
<xsl:choose> |
| 294 |
<xsl:when test="$ok = ''"> |
| 295 |
<xsl:text>true</xsl:text> |
| 296 |
</xsl:when> |
| 297 |
<xsl:otherwise> |
| 298 |
<xsl:text>false</xsl:text> |
| 299 |
</xsl:otherwise> |
| 300 |
</xsl:choose> |
| 301 |
</xsl:template> |
| 302 |
|
| 303 |
|
| 304 |
<!--**========================================================================== |
| 305 |
ttml.profile.attr |
| 306 |
Check whether the stylesheets conform to a `profile` attribute. |
| 307 |
@revision[version=3.4 date=2012-03-02 status=final] |
| 308 |
$node: A `tt:tt` element containing a `profile` attribute. |
| 309 |
$profile: The `profile` attribute to check. |
| 310 |
|
| 311 |
This template checks if the stylesheets comply with a profile as specified by |
| 312 |
the `profile` attribute on a `tt:tt` element. If the profile is one of the |
| 313 |
pre-defined profiles (`dfxp-transformation`, `dfxp-presentation`, and |
| 314 |
`dfxp-full`), this template contains built-in rules for quicly checking |
| 315 |
feature compliance. Otherwise, it downloads the referenced profile and calls |
| 316 |
`ttml.profile` on it. |
| 317 |
|
| 318 |
Like {ttml.profile}, this template returns the string `"true"` if all |
| 319 |
required features are supported, `"false"` otherwise. |
| 320 |
--> |
| 321 |
<xsl:template name="ttml.profile.attr"> |
| 322 |
<xsl:param name="node" select="."/> |
| 323 |
<xsl:param name="profile" select="$node/@profile"/> |
| 324 |
<xsl:variable name="uri"> |
| 325 |
<xsl:if test="not(contains($profile, ':'))"> |
| 326 |
<xsl:text>http://www.w3.org/ns/ttml/profile/</xsl:text> |
| 327 |
</xsl:if> |
| 328 |
<xsl:value-of select="$profile"/> |
| 329 |
</xsl:variable> |
| 330 |
<xsl:variable name="features"> |
| 331 |
<xsl:choose> |
| 332 |
<xsl:when test="$uri = 'http://www.w3.org/ns/ttml/profile/dfxp-presentation'"> |
| 333 |
<xsl:value-of select="$ttml.features.dfxp_presentation"/> |
| 334 |
</xsl:when> |
| 335 |
<xsl:when test="$uri = 'http://www.w3.org/ns/ttml/profile/dfxp-transformation'"> |
| 336 |
<xsl:value-of select="$ttml.features.dfxp_transformation"/> |
| 337 |
</xsl:when> |
| 338 |
<xsl:when test="$uri = 'http://www.w3.org/ns/ttml/profile/dfxp-full'"> |
| 339 |
<xsl:value-of select="$ttml.features.dfxp_full"/> |
| 340 |
</xsl:when> |
| 341 |
</xsl:choose> |
| 342 |
</xsl:variable> |
| 343 |
<xsl:choose> |
| 344 |
<xsl:when test="$features != ''"> |
| 345 |
<xsl:variable name="ok"> |
| 346 |
<xsl:for-each select="str:split($features)"> |
| 347 |
<xsl:if test="not(contains($ttml.features, concat(' ', ., ' ')))"> |
| 348 |
<xsl:text>x</xsl:text> |
| 349 |
</xsl:if> |
| 350 |
</xsl:for-each> |
| 351 |
</xsl:variable> |
| 352 |
<xsl:choose> |
| 353 |
<xsl:when test="$ok = ''"> |
| 354 |
<xsl:text>true</xsl:text> |
| 355 |
</xsl:when> |
| 356 |
<xsl:otherwise> |
| 357 |
<xsl:text>false</xsl:text> |
| 358 |
</xsl:otherwise> |
| 359 |
</xsl:choose> |
| 360 |
</xsl:when> |
| 361 |
<xsl:otherwise> |
| 362 |
<xsl:call-template name="ttml.profile"> |
| 363 |
<xsl:with-param name="node" select="document($uri, $node)/ttp:profile"/> |
| 364 |
</xsl:call-template> |
| 365 |
</xsl:otherwise> |
| 366 |
</xsl:choose> |
| 367 |
</xsl:template> |
| 368 |
|
| 369 |
|
| 370 |
<!-- The required features for the dfxp-presentation profile --> |
| 371 |
<xsl:variable name="ttml.features.dfxp_presentation" select="' |
| 372 |
http://www.w3.org/ns/ttml/feature/#content |
| 373 |
http://www.w3.org/ns/ttml/feature/#core |
| 374 |
http://www.w3.org/ns/ttml/feature/#presentation |
| 375 |
http://www.w3.org/ns/ttml/feature/#profile |
| 376 |
http://www.w3.org/ns/ttml/feature/#structure |
| 377 |
http://www.w3.org/ns/ttml/feature/#time-offset |
| 378 |
http://www.w3.org/ns/ttml/feature/#timing |
| 379 |
'"/> |
| 380 |
|
| 381 |
<!-- The required features for the dfxp-transformation profile --> |
| 382 |
<xsl:variable name="ttml.features.dfxp_transformation" select="' |
| 383 |
http://www.w3.org/ns/ttml/feature/#content |
| 384 |
http://www.w3.org/ns/ttml/feature/#core |
| 385 |
http://www.w3.org/ns/ttml/feature/#profile |
| 386 |
http://www.w3.org/ns/ttml/feature/#structure |
| 387 |
http://www.w3.org/ns/ttml/feature/#time-offset |
| 388 |
http://www.w3.org/ns/ttml/feature/#timing |
| 389 |
http://www.w3.org/ns/ttml/feature/#transformation |
| 390 |
'"/> |
| 391 |
|
| 392 |
<!-- The required features for the dfxp-full profile --> |
| 393 |
<xsl:variable name="ttml.features.dfxp_full" select="' |
| 394 |
http://www.w3.org/ns/ttml/feature/#animation |
| 395 |
http://www.w3.org/ns/ttml/feature/#backgroundColor-block |
| 396 |
http://www.w3.org/ns/ttml/feature/#backgroundColor-inline |
| 397 |
http://www.w3.org/ns/ttml/feature/#backgroundColor-region |
| 398 |
http://www.w3.org/ns/ttml/feature/#backgroundColor |
| 399 |
http://www.w3.org/ns/ttml/feature/#bidi |
| 400 |
http://www.w3.org/ns/ttml/feature/#cellResolution |
| 401 |
http://www.w3.org/ns/ttml/feature/#clockMode-gps |
| 402 |
http://www.w3.org/ns/ttml/feature/#clockMode-local |
| 403 |
http://www.w3.org/ns/ttml/feature/#clockMode-utc |
| 404 |
http://www.w3.org/ns/ttml/feature/#clockMode |
| 405 |
http://www.w3.org/ns/ttml/feature/#color |
| 406 |
http://www.w3.org/ns/ttml/feature/#content |
| 407 |
http://www.w3.org/ns/ttml/feature/#core |
| 408 |
http://www.w3.org/ns/ttml/feature/#direction |
| 409 |
http://www.w3.org/ns/ttml/feature/#display-block |
| 410 |
http://www.w3.org/ns/ttml/feature/#display-inline |
| 411 |
http://www.w3.org/ns/ttml/feature/#display-region |
| 412 |
http://www.w3.org/ns/ttml/feature/#display |
| 413 |
http://www.w3.org/ns/ttml/feature/#displayAlign |
| 414 |
http://www.w3.org/ns/ttml/feature/#dropMode-dropNTSC |
| 415 |
http://www.w3.org/ns/ttml/feature/#dropMode-dropPAL |
| 416 |
http://www.w3.org/ns/ttml/feature/#dropMode-nonDrop |
| 417 |
http://www.w3.org/ns/ttml/feature/#dropMode |
| 418 |
http://www.w3.org/ns/ttml/feature/#extent-region |
| 419 |
http://www.w3.org/ns/ttml/feature/#extent-root |
| 420 |
http://www.w3.org/ns/ttml/feature/#extent |
| 421 |
http://www.w3.org/ns/ttml/feature/#fontFamily-generic |
| 422 |
http://www.w3.org/ns/ttml/feature/#fontFamily-non-generic |
| 423 |
http://www.w3.org/ns/ttml/feature/#fontFamily |
| 424 |
http://www.w3.org/ns/ttml/feature/#fontSize-anamorphic |
| 425 |
http://www.w3.org/ns/ttml/feature/#fontSize-isomorphic |
| 426 |
http://www.w3.org/ns/ttml/feature/#fontSize |
| 427 |
http://www.w3.org/ns/ttml/feature/#fontStyle-italic |
| 428 |
http://www.w3.org/ns/ttml/feature/#fontStyle-oblique |
| 429 |
http://www.w3.org/ns/ttml/feature/#fontStyle |
| 430 |
http://www.w3.org/ns/ttml/feature/#fontWeight-bold |
| 431 |
http://www.w3.org/ns/ttml/feature/#fontWeight |
| 432 |
http://www.w3.org/ns/ttml/feature/#frameRate |
| 433 |
http://www.w3.org/ns/ttml/feature/#frameRateMultiplier |
| 434 |
http://www.w3.org/ns/ttml/feature/#layout |
| 435 |
http://www.w3.org/ns/ttml/feature/#length-cell |
| 436 |
http://www.w3.org/ns/ttml/feature/#length-em |
| 437 |
http://www.w3.org/ns/ttml/feature/#length-negative |
| 438 |
http://www.w3.org/ns/ttml/feature/#length-percentage |
| 439 |
http://www.w3.org/ns/ttml/feature/#length-pixel |
| 440 |
http://www.w3.org/ns/ttml/feature/#length-positive |
| 441 |
http://www.w3.org/ns/ttml/feature/#length-real |
| 442 |
http://www.w3.org/ns/ttml/feature/#length |
| 443 |
http://www.w3.org/ns/ttml/feature/#lineBreak-uax14 |
| 444 |
http://www.w3.org/ns/ttml/feature/#lineHeight |
| 445 |
http://www.w3.org/ns/ttml/feature/#markerMode-continuous |
| 446 |
http://www.w3.org/ns/ttml/feature/#markerMode-discontinuous |
| 447 |
http://www.w3.org/ns/ttml/feature/#markerMode |
| 448 |
http://www.w3.org/ns/ttml/feature/#metadata-foreign |
| 449 |
http://www.w3.org/ns/ttml/feature/#metadata |
| 450 |
http://www.w3.org/ns/ttml/feature/#nested-div |
| 451 |
http://www.w3.org/ns/ttml/feature/#nested-span |
| 452 |
http://www.w3.org/ns/ttml/feature/#opacity |
| 453 |
http://www.w3.org/ns/ttml/feature/#origin |
| 454 |
http://www.w3.org/ns/ttml/feature/#overflow-scroll |
| 455 |
http://www.w3.org/ns/ttml/feature/#overflow-visible |
| 456 |
http://www.w3.org/ns/ttml/feature/#overflow |
| 457 |
http://www.w3.org/ns/ttml/feature/#padding-1 |
| 458 |
http://www.w3.org/ns/ttml/feature/#padding-2 |
| 459 |
http://www.w3.org/ns/ttml/feature/#padding-3 |
| 460 |
http://www.w3.org/ns/ttml/feature/#padding-4 |
| 461 |
http://www.w3.org/ns/ttml/feature/#padding |
| 462 |
http://www.w3.org/ns/ttml/feature/#pixelAspectRatio |
| 463 |
http://www.w3.org/ns/ttml/feature/#presentation |
| 464 |
http://www.w3.org/ns/ttml/feature/#profile |
| 465 |
http://www.w3.org/ns/ttml/feature/#showBackground |
| 466 |
http://www.w3.org/ns/ttml/feature/#structure |
| 467 |
http://www.w3.org/ns/ttml/feature/#styling-chained |
| 468 |
http://www.w3.org/ns/ttml/feature/#styling-inheritance-content |
| 469 |
http://www.w3.org/ns/ttml/feature/#styling-inheritance-region |
| 470 |
http://www.w3.org/ns/ttml/feature/#styling-inline |
| 471 |
http://www.w3.org/ns/ttml/feature/#styling-nested |
| 472 |
http://www.w3.org/ns/ttml/feature/#styling-referential |
| 473 |
http://www.w3.org/ns/ttml/feature/#styling |
| 474 |
http://www.w3.org/ns/ttml/feature/#subFrameRate |
| 475 |
http://www.w3.org/ns/ttml/feature/#textAlign-absolute |
| 476 |
http://www.w3.org/ns/ttml/feature/#textAlign-relative |
| 477 |
http://www.w3.org/ns/ttml/feature/#textAlign |
| 478 |
http://www.w3.org/ns/ttml/feature/#textDecoration-over |
| 479 |
http://www.w3.org/ns/ttml/feature/#textDecoration-through |
| 480 |
http://www.w3.org/ns/ttml/feature/#textDecoration-under |
| 481 |
http://www.w3.org/ns/ttml/feature/#textDecoration |
| 482 |
http://www.w3.org/ns/ttml/feature/#textOutline-blurred |
| 483 |
http://www.w3.org/ns/ttml/feature/#textOutline-unblurred |
| 484 |
http://www.w3.org/ns/ttml/feature/#textOutline |
| 485 |
http://www.w3.org/ns/ttml/feature/#tickRate |
| 486 |
http://www.w3.org/ns/ttml/feature/#time-clock-with-frames |
| 487 |
http://www.w3.org/ns/ttml/feature/#time-clock |
| 488 |
http://www.w3.org/ns/ttml/feature/#time-offset-with-frames |
| 489 |
http://www.w3.org/ns/ttml/feature/#time-offset-with-ticks |
| 490 |
http://www.w3.org/ns/ttml/feature/#time-offset |
| 491 |
http://www.w3.org/ns/ttml/feature/#timeBase-clock |
| 492 |
http://www.w3.org/ns/ttml/feature/#timeBase-media |
| 493 |
http://www.w3.org/ns/ttml/feature/#timeBase-smpte |
| 494 |
http://www.w3.org/ns/ttml/feature/#timeContainer |
| 495 |
http://www.w3.org/ns/ttml/feature/#timing |
| 496 |
http://www.w3.org/ns/ttml/feature/#transformation |
| 497 |
http://www.w3.org/ns/ttml/feature/#unicodeBidi |
| 498 |
http://www.w3.org/ns/ttml/feature/#visibility-block |
| 499 |
http://www.w3.org/ns/ttml/feature/#visibility-inline |
| 500 |
http://www.w3.org/ns/ttml/feature/#visibility-region |
| 501 |
http://www.w3.org/ns/ttml/feature/#visibility |
| 502 |
http://www.w3.org/ns/ttml/feature/#wrapOption |
| 503 |
http://www.w3.org/ns/ttml/feature/#writingMode-horizontal-lr |
| 504 |
http://www.w3.org/ns/ttml/feature/#writingMode-horizontal-rl |
| 505 |
http://www.w3.org/ns/ttml/feature/#writingMode-horizontal |
| 506 |
http://www.w3.org/ns/ttml/feature/#writingMode-vertical |
| 507 |
http://www.w3.org/ns/ttml/feature/#writingMode |
| 508 |
http://www.w3.org/ns/ttml/feature/#zIndex |
| 509 |
'"/> |
| 510 |
|
| 511 |
</xsl:stylesheet> |