blob: 6af59419c9bc404d0b72d1172db9a04de7704c80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:xsl="FIXME" style="xslt-template" id="ttml.profile.attr">
<info>
<link type="guide" xref="ttml" group="templates"/>
<link type="guide" xref="templates" group="ttml"/>
<desc>Check whether the stylesheets conform to a <sys>profile</sys> attribute.</desc>
<revision version="3.4" date="2012-03-02" status="final"/>
</info>
<title>ttml.profile.attr</title>
<p><code>$node</code>: A <sys>tt:tt</sys> element containing a <sys>profile</sys> attribute.
<code>$profile</code>: The <sys>profile</sys> attribute to check.</p>
<p>This template checks if the stylesheets comply with a profile as specified by
the <sys>profile</sys> attribute on a <sys>tt:tt</sys> element. If the profile is one of the
pre-defined profiles (<sys>dfxp-transformation</sys>, <sys>dfxp-presentation</sys>, and
<sys>dfxp-full</sys>), this template contains built-in rules for quicly checking
feature compliance. Otherwise, it downloads the referenced profile and calls
<sys>ttml.profile</sys> on it.</p>
<p>Like <code xref="ttml.profile">ttml.profile</code>, this template returns the string <sys>"true"</sys> if all
required features are supported, <sys>"false"</sys> otherwise.</p>
<list style="compact">
<title>Calls Parameters</title>
<item>
<p><link xref="ttml.features"/></p>
</item>
</list>
<list style="compact">
<title>Calls Templates</title>
<item>
<p><link xref="ttml.profile"/></p>
</item>
</list>
</page>
|