1 <!ENTITY % date-time "(#PCDATA)*" > <!-- conforming to the Date and Time Specification of RFC 822.-->
\r
2 <!ENTITY % number "(#PCDATA)*" >
\r
3 <!ENTITY % string "(#PCDATA)*" >
\r
7 <!ELEMENT opml (head, body) >
\r
9 version CDATA #IMPLIED> <!-- a version string, of the form, x.y, where x and y are both numeric strings.-->
\r
11 <!ELEMENT head ( title?, dateCreated?, dateModified?,
\r
12 ownerName?, ownerEmail?, expansionState?, vertScrollState?,
\r
13 windowTop?, windowLeft?, windowBottom?, windowRight? ) >
\r
15 <!ELEMENT title (#PCDATA)* > <!--the title of the document.-->
\r
16 <!ELEMENT dateCreated %date-time; > <!--a date-time, indicating when the document was created.-->
\r
17 <!ELEMENT dateModified %date-time;> <!--a date-time, indicating when the document was last modified.-->
\r
18 <!ELEMENT ownerName %string; > <!--a string, the owner of the document. -->
\r
19 <!ELEMENT ownerEmail %string; > <!--a string, the email address of the owner of the document.-->
\r
21 <!ELEMENT expansionState (#PCDATA)* >
\r
23 a comma-separated list of line numbers that are expanded.
\r
24 The line numbers in the list tell you which headlines to expand.
\r
25 The order is important.
\r
26 For each element in the list, X, starting at the first summit, navigate
\r
27 flatdown X times and expand.
\r
28 Repeat for each element in the list.
\r
31 <!ELEMENT vertScrollState %number; >
\r
33 a number, saying which line of the outline is displayed on the top line of
\r
35 This number is calculated with the expansion state already applied.
\r
38 <!ELEMENT windowTop %number; > <!-- a number, the pixel location of the top edge of the window.-->
\r
39 <!ELEMENT windowLeft %number; > <!-- a number, the pixel location of the left edge of the window.-->
\r
40 <!ELEMENT windowBottom %number; > <!-- a number, the pixel location of the bottom edge of the window.-->
\r
41 <!ELEMENT windowRight %number; > <!-- a number, the pixel location of the right edge of the window.-->
\r
44 <!ELEMENT body (outline)+ >
\r
45 <!ELEMENT outline (outline)* >
\r
47 <!ENTITY % OtherAttributes " " >
\r
48 <!ATTLIST outline text CDATA #IMPLIED
\r
50 isComment ( true | false ) false
\r
51 isBreakpoint (true|false) false >
\r
53 text is the string of characters that's displayed when the outline is being browsed or edited.
\r
54 type is a string, it says how the other attributes of the <outline> are interpreted.
\r
55 isComment indicates whether the outline is commented or not.
\r
56 By convention if an outline is commented, all subordinate outlines are considered to be commented as well.
\r
57 isBreakpoint indicates whether a breakpoint is set on this outline.This attribute is mainly necessary for outlines used to edit scripts that execute.
\r
59 You can add whatever other attributes on the outline element you want.
\r