Last active
January 27, 2017 20:48
-
-
Save MWins/5dae40d2727ab2ddd056 to your computer and use it in GitHub Desktop.
XML Defines for HTML generation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xml> | |
<elements> | |
<element> | |
<name>doctype</name> | |
<required>y</required> | |
<options> | |
<option id="5"> | |
<name>HTML 5</name> | |
<value ><![CDATA[<!DOCTYPE html>]]></value> | |
</option> | |
<option id="4"> | |
<name>HTML 4 Loose</name> | |
<value ><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd">]]></value> | |
</option> | |
<option id="3"> | |
<name>XHTML 4 Transitional</name> | |
<value ><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ]]></value> | |
</option> | |
</options> | |
</element> | |
<element> | |
<name>html</name> | |
<required>y</required> | |
<attributes> | |
<attribute><name>xmlns</name> | |
<default>http://www.w3.org/1999/xhtml</default> | |
<restricted_to>3</restricted_to> | |
</attribute> | |
<attribute><name>manifest</name> | |
<value_type>URL</value_type> | |
<default></default> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
</attributes> | |
</element> | |
<element> | |
<name>head</name> | |
<required>y</required> | |
<attributes> | |
<attribute><name>profile</name> | |
<value_type>URL</value_type> | |
<default></default> | |
<restricted_to>4</restricted_to> | |
</attribute> | |
</attributes> | |
</element> | |
<element> | |
<name>title</name> | |
<required>y</required> | |
</element> | |
<element> | |
<name>base</name> | |
<required>n</required> | |
<attributes> | |
<attribute><name>href</name> | |
<value_type>URL</value_type> | |
<default></default> | |
</attribute> | |
<attribute><ref>target</ref></attribute> | |
</attributes> | |
</element> | |
<element> | |
<name>style</name> | |
<required>n</required> | |
<attributes> | |
<attribute> | |
<name>media</name> | |
<value_type>media_query</value_type> | |
<default></default> | |
</attribute> | |
<attribute> | |
<name>type</name> | |
<value_type>string</value_type> | |
<default>text/css</default> | |
</attribute> | |
<attribute> | |
<name>scoped</name> | |
<value_type>string</value_type> | |
<default>scoped</default> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
</attributes> | |
<content>text</content> | |
</element> | |
<element> | |
<name>link</name> | |
<required>n</required> | |
<attributes> | |
<attribute> | |
<name>href</name> | |
<value_type>url</value_type> | |
<default></default> | |
</attribute> | |
<attribute> | |
<name>type</name> | |
<value_type>string</value_type> | |
<default></default> | |
</attribute> | |
<attribute> | |
<name>rel</name> | |
<value_type>string</value_type> | |
<default></default> | |
</attribute> | |
<attribute> | |
<name>charset</name> | |
<value_type>string</value_type> | |
<restricted_to>4</restricted_to> | |
</attribute> | |
<attribute> | |
<name>hreflang</name> | |
<value_type>string</value_type> | |
</attribute> | |
<attribute> | |
<name>media</name> | |
<value_type>string</value_type> | |
</attribute> | |
<attribute> | |
<name>rel</name> | |
<required>y</required> | |
<value_type>options</value_type> | |
<options> | |
<option>alternate</option><option>archives</option><option>author</option> | |
<option>bookmark</option><option>external</option><option>first</option> | |
<option>help</option><option>icon</option><option>last</option> | |
<option>last</option><option>license</option><option>next</option> | |
<option>nofollow</option><option>noreferrer</option><option>pingback</option> | |
<option>prefetch</option><option>prev</option><option>search</option> | |
<option>stylesheet</option><option>sidebar</option><option>tag</option> | |
<option>up</option> | |
</options> | |
</attribute> | |
<attribute><ref>target</ref></attribute> | |
<attribute> | |
<name>type</name> | |
<value_type>MIME_type</value_type> | |
</attribute> | |
</attributes> | |
</element> | |
<element> | |
<name>meta</name> | |
<attributes> | |
<attribute> | |
<name>name</name> | |
<value_type>string</value_type> | |
<options> | |
<option>application-name</option> | |
<option>author</option> | |
<option>description</option> | |
<option>generator</option> | |
<option>keywords</option> | |
</options> | |
</attribute> | |
<attribute> | |
<name>content</name> | |
<value_type>string</value_type> | |
</attribute> | |
<attribute> | |
<name>http-equiv</name> | |
<value_type>string</value_type> | |
<options> | |
<option>content-type</option> | |
<option>default-style</option> | |
<option>refresh</option> | |
</options> | |
</attribute> | |
</attributes> | |
</element> | |
<element> | |
<name>script</name> | |
<content>text</content> | |
<attributes> | |
<attribute> | |
<name>src</name> | |
<value_type>url</value_type> | |
<default></default> | |
</attribute> | |
<attribute> | |
<name>type</name> | |
<value_type>string</value_type> | |
<default></default> | |
</attribute> | |
</attributes> | |
<element> | |
<name>noscript</name> | |
<content>text</content> | |
</element> | |
</element> | |
</elements> | |
<attributes> | |
<attribute> | |
<name>accesskey</name> | |
<value_type>string</value_type> | |
<default_type></default_type> | |
</attribute> | |
<attribute> | |
<name>class</name> | |
<value_type>string</value_type> | |
<default_type></default_type> | |
</attribute> | |
<attribute> | |
<name>dir</name> | |
<value_type>string</value_type> | |
<default_type></default_type> | |
</attribute> | |
<attribute> | |
<name>id</name> | |
<value_type>string</value_type> | |
<default_type></default_type> | |
</attribute> | |
<attribute> | |
<name>title</name> | |
<value_type>string</value_type> | |
<default_type></default_type> | |
</attribute> | |
<attribute> | |
<name>lang</name> | |
<value_type>language_code</value_type> | |
<default_type></default_type> | |
</attribute> | |
<attribute> | |
<name>contenteditable</name> | |
<value_type>string</value_type> | |
<value_options><value>true</value><value>false</value></value_options> | |
<default_type></default_type> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
<attribute> | |
<name>contextmenu</name> | |
<value_type>string</value_type> | |
<default_type></default_type> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
<attribute> | |
<name>draggable</name> | |
<value_type>string</value_type> | |
<value_options><value>true</value><value>false</value><value>auto</value></value_options> | |
<default_type></default_type> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
<attribute> | |
<name>dropzone</name> | |
<value_type>string</value_type> | |
<value_options><value>copy</value><value>move</value><value>link</value></value_options> | |
<default_type></default_type> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
<attribute> | |
<name>hidden</name> | |
<value_type>boolean</value_type> | |
<default_type></default_type> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
<attribute> | |
<name>spellcheck</name> | |
<value_type>boolean</value_type> | |
<value_options><value>true</value><value>false</value></value_options> | |
<default_type></default_type> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
<attribute> | |
<name>translate</name> | |
<value_type>boolean</value_type> | |
<value_options><value>yes</value><value>no</value></value_options> | |
<default_type></default_type> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
<attribute> | |
<name>data-</name> | |
<identifier>string</identifier> | |
<value_type>string</value_type> | |
<default_type></default_type> | |
<restricted_to>5</restricted_to> | |
</attribute> | |
<attribute> | |
<name>target</name> | |
<identifier>url</identifier> | |
<value_type>options</value_type> | |
<options> | |
<option>_blank</option> | |
<option>_parent</option> | |
<option>_self</option> | |
<option>_top</option> | |
<option>framename</option> | |
</options> | |
<default_type></default_type> | |
</attribute> | |
</attributes> | |
</xml> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment