diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-09-01 09:51:27 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-16 11:07:30 -0500 |
commit | 61173c1b58efa79c0ba6b08348d2796a249d0186 (patch) | |
tree | 00ebf544db18942e2a1ecfc5e5fa16931127d38f /helpers/xmlhelp.dtd | |
parent | 3dc2e7497f1798ae4ff6c5c8c562666bc10a393c (diff) |
move help structure one directory up
Change-Id: Ie970e39fbb6795a92d9fdd13510409d7dcd071bc
Diffstat (limited to 'helpers/xmlhelp.dtd')
-rw-r--r-- | helpers/xmlhelp.dtd | 220 |
1 files changed, 220 insertions, 0 deletions
diff --git a/helpers/xmlhelp.dtd b/helpers/xmlhelp.dtd new file mode 100644 index 0000000000..96dcefac6d --- /dev/null +++ b/helpers/xmlhelp.dtd @@ -0,0 +1,220 @@ +<!-- +Version 03-Feb-2006 + added optional localize attribute to images +--> + +<!ELEMENT ahelp (#PCDATA | embedvar | br | comment | emph | sub | sup | item | link | switchinline | variable)*> +<!ATTLIST ahelp + hid CDATA #REQUIRED + visibility (hidden | visible) #IMPLIED +> + +<!ELEMENT alt (#PCDATA)> +<!ATTLIST alt + xml-lang CDATA #REQUIRED + id CDATA #REQUIRED + localize CDATA #IMPLIED +> + +<!ELEMENT body (section | paragraph | table | comment | bookmark | switch | embed | list | sort)*> + +<!ELEMENT bookmark (bookmark_value)*> +<!ATTLIST bookmark + branch CDATA #REQUIRED + xml-lang CDATA #REQUIRED + id CDATA #REQUIRED + localize CDATA #IMPLIED +> + +<!ELEMENT bookmark_value (#PCDATA | embedvar)*> + +<!ELEMENT br EMPTY> + +<!ELEMENT caption (#PCDATA | embedvar | br | emph | sub | sup | item | link | switchinline | variable)*> +<!ATTLIST caption + xml-lang CDATA #REQUIRED + id CDATA #REQUIRED + localize CDATA #IMPLIED +> + +<!ELEMENT case (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort)*> +<!ATTLIST case + select CDATA #REQUIRED +> + +<!ELEMENT caseinline (#PCDATA | image | embedvar | br | emph | sub | sup | item | link | switchinline | variable | ahelp | object)*> +<!ATTLIST caseinline + select CDATA #REQUIRED +> + +<!ELEMENT comment (#PCDATA)> + +<!ELEMENT created (#PCDATA)> +<!ATTLIST created + date CDATA #REQUIRED +> + +<!ELEMENT default (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort)*> + +<!ELEMENT defaultinline (#PCDATA | image | embedvar | br | emph | sub | sup | item | link | switchinline | variable | ahelp | object)*> + +<!ELEMENT embed EMPTY> +<!ATTLIST embed + href CDATA #REQUIRED + role CDATA #IMPLIED + level CDATA #IMPLIED +> + +<!ELEMENT embedvar EMPTY> +<!ATTLIST embedvar + href CDATA #REQUIRED + markup (keep | ignore) #IMPLIED +> + +<!ELEMENT emph (#PCDATA | item | comment | help-id-missing)*> + +<!ELEMENT sub (#PCDATA | item | comment | help-id-missing)*> + +<!ELEMENT sup (#PCDATA | item | comment | help-id-missing)*> + +<!ELEMENT filename (#PCDATA)> + +<!ELEMENT helpdocument (meta, body)> +<!ATTLIST helpdocument + version CDATA #REQUIRED +> + +<!ELEMENT history (created, lastedited)> + +<!ELEMENT image (caption* | alt+)?> +<!ATTLIST image + src CDATA #REQUIRED + width CDATA #IMPLIED + height CDATA #IMPLIED + id CDATA #REQUIRED + localize CDATA #IMPLIED +> + +<!ELEMENT item (#PCDATA)> +<!ATTLIST item + type CDATA #REQUIRED +> + +<!ELEMENT lastedited (#PCDATA)> +<!ATTLIST lastedited + date CDATA #REQUIRED +> + +<!ELEMENT link (#PCDATA | embedvar | emph | sub | sup | item | variable | switchinline)*> +<!ATTLIST link + href CDATA #REQUIRED + name CDATA #IMPLIED + type CDATA #IMPLIED + target CDATA #IMPLIED +> + +<!ELEMENT list (listitem | (comment)*)+> +<!ATTLIST list + type CDATA #REQUIRED + startwith CDATA #IMPLIED + format (1 | i | I | a | A) #IMPLIED + bullet (disc | circle | square) #IMPLIED + sorted (asc | desc) #IMPLIED +> + +<!ELEMENT listitem (comment | section | paragraph | table | switch | embed | bookmark)*> +<!ATTLIST listitem + format (1 | i | I | a | A) #IMPLIED + bullet (disc | circle | square) #IMPLIED + class CDATA #IMPLIED +> + +<!ELEMENT meta (topic, history?)> + +<!ELEMENT object EMPTY> +<!ATTLIST object + type CDATA #REQUIRED + id CDATA #REQUIRED + data CDATA #REQUIRED + height CDATA #IMPLIED + width CDATA #IMPLIED +> + +<!ELEMENT paragraph (#PCDATA | image | comment | embedvar | br | emph | sub | sup | item | link | switchinline | variable | ahelp | object | bookmark | help-id-missing)*> +<!ATTLIST paragraph + role CDATA #REQUIRED + level CDATA #IMPLIED + id CDATA #REQUIRED + l10n CDATA #IMPLIED + xml-lang CDATA #REQUIRED + oldref CDATA #IMPLIED + localize CDATA #IMPLIED +> + +<!ELEMENT section (section | paragraph | table | list | comment | bookmark | embed | switch | sort )*> +<!ATTLIST section + id CDATA #REQUIRED +> + +<!ELEMENT sort (section+)> +<!ATTLIST sort + order (asc | desc) #IMPLIED +> + +<!ELEMENT switch ((case | comment)* | default?)*> +<!ATTLIST switch + select (sys | appl | distrib | target | lang | ver) #REQUIRED +> + +<!ELEMENT switchinline ((caseinline)+, (defaultinline?)?)> +<!ATTLIST switchinline + select (sys | appl | distrib | target | ver | lang) #REQUIRED +> + +<!ELEMENT table (caption*, tablerow+)> +<!ATTLIST table + name CDATA #IMPLIED + width CDATA #IMPLIED + height CDATA #IMPLIED + unit CDATA #IMPLIED + class CDATA #IMPLIED + id CDATA #REQUIRED +> + +<!ELEMENT tablecell (section | paragraph | comment | embed | bookmark | image | list)*> +<!ATTLIST tablecell + colspan CDATA #IMPLIED + rowspan CDATA #IMPLIED + width CDATA #IMPLIED + class CDATA #IMPLIED + unit CDATA #IMPLIED +> + +<!ELEMENT tablerow (tablecell+)> +<!ATTLIST tablerow + height CDATA #IMPLIED + class CDATA #IMPLIED + unit CDATA #IMPLIED +> + +<!ELEMENT title (#PCDATA)> +<!ATTLIST title + xml-lang CDATA #REQUIRED + id CDATA #REQUIRED + localize CDATA #IMPLIED +> + +<!ELEMENT topic (title+, filename, bookmark*)> +<!ATTLIST topic + id CDATA #REQUIRED + indexer (exclude | include) #IMPLIED + status (DRAFT | FINAL | PUBLISH | STALLED | DEPRECATED) #IMPLIED +> + +<!ELEMENT variable (#PCDATA | ahelp | embedvar | br | emph | sub | sup | item | link | variable | image | object | switchinline)*> +<!ATTLIST variable + id CDATA #REQUIRED + visibility (hidden | visible) #IMPLIED +> + +<!ELEMENT help-id-missing EMPTY> |