-
Notifications
You must be signed in to change notification settings - Fork 0
The Elements of HVML
This is the root node. Limit one per document. Required.
- Documents
- XML Root Node Attributes (e.g.
xmlns) - XML Global Attributes (e.g.
xml:id)
-
A barebones configuration.
Note: Although this is conforming, this does not provide much context for the document’s contents, and is not recommended in most cases.
<hvml></hvml>
-
A configuration setting document language to English.
<hvml xml:lang="en"></hvml>
-
A configuration specifying the HVML namespace, and setting document language to French.
Note: This is the recommended minimum configuration (with document language set appropriately).
<hvml xmlns="http://vocab.nospoon.tv/ovml#" xml:lang="fr"></hvml>
An arbitrary grouping.
- As a child of
hvml - As a child of
group - As a child of
glossary
- XML Global Attributes (e.g.
xml:id) -
type-
Type:
xs:string -
Possible values:
- As a child of
hvmlorgroup:series - As a child of
glossary:profanity | nudity | sex | violence | drugs | scale
- As a child of
-
Type:
-
As a child of
hvml: Denoting an episodic television show.<group xml:id="hughs-vlog" type="series"> <!-- … --> </group>
-
As a child of
group: Denoting a distinct “season” or “series” of an episodic television show.<group xml:id="hughs-vlog" type="series"> <group xml:id="season-01" type="series"> <!-- … --> </group> </group>
-
As a child of
glossary: Defining a group of content rating classifications.<group type="profanity"> <rating code="L-" maturity="0" color="green"> <title>No strong language</title> </rating> <!-- … --> <rating code="L+" maturity="1" color="red"> <title>Explicit language</title> </rating> </group>
-
As a child of
glossary: Defining a group of content ranking classifications.<group type="scale"> <score xml:id="nstv-ma" code="Ma" rank="1"> <title>Masterpiece</title> </score> <!-- … --> <score xml:id="nstv-u" code="U" rank="0"> <title>Unwatchable</title> </score> </group>