Yelp

(The Help System)

ttml.profile.attr

Check whether the stylesheets conform to a profile attribute.

Parameters

node

A tt:tt element containing a profile attribute.

profile

The profile attribute to check.

This template checks if the stylesheets comply with a profile as specified by the profile attribute on a tt:tt element. If the profile is one of the pre-defined profiles (dfxp-transformation, dfxp-presentation, and dfxp-full), this template contains built-in rules for quicly checking feature compliance. Otherwise, it downloads the referenced profile and calls ttml.profile on it.

Like ttml.profile, this template returns the string "true" if all required features are supported, "false" otherwise.

Calls Templates

Calls Parameters