This shows you the differences between two versions of the page.
— |
ncl [2014/09/16 14:26] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== The <ncl> Element ===== | ||
+ | ==== Definition and Usage ==== | ||
+ | |||
+ | The [[ncl|<ncl>]] tag represents the root of an NCL document. | ||
+ | |||
+ | The [[ncl|<ncl>]] tag is the container for all other NCL elements (except for | ||
+ | the <?xml> tag). | ||
+ | |||
+ | ==== Syntax ==== | ||
+ | ^ Element ^ Attributes ^ Content ^ Parent ^ | ||
+ | | [[ncl|<ncl>]] | __//id//__, //title//, //xmlns// | ([[head|<head>]]?, [[body|<body>]]?) | -- | | ||
+ | ==== Attributes ==== | ||
+ | |||
+ | ^ Name ^ Value ^ Description ^ | ||
+ | | //id// | It may receive any string value that begins with a letter or an underscore and that only contains letters, digits, <".">, and <"_">. | The //id// attribute uniquely identifies the element within a document. | | ||
+ | | //title// | String. | The //title// attribute contains advisory information. Values of the //title// attribute may be rendered by user agents in a variety of ways. | | ||
+ | | //xmlns// | "http://www.ncl.org.br/NCL3.0/EDTVProfile" or "http://www.ncl.org.br/NCL3.0/BDTVProfile" | The xmlns attribute declares an XML namespace---in other words, it declares the primary collection of XML-defined constructs the document uses. The attribute's value is the URL identifying where the namespace is officially defined. Two values are allowed for the //xmlns// attribute: "http://www.ncl.org.br/NCL3.0/EDTVProfile" and "http://www.ncl.org.br/NCL3.0/BDTVProfile", for the Enhanced and Basic DTV profiles, respectively. An NCL player shall know that the schemaLocation for these namespaces is, respectively: "http://www.ncl.org.br/NCL3.0/profiles/NCL30EDTV.xsd" and "http://www.ncl.org.br/NCL3.0/profiles/NCL30BDTV.xsd". | | ||
+ | |||
+ | |||
+ | |||