SOXF -- XML-based Simple Outline eXchange Format
< Next Message | Back to archived message list | Previous Message >
Note: This message is from the outliners.com archive kindly provided by Dave Winer.
Outliners.com Message ID: 397
Posted by jbrewer
1999-11-14 12:08:14
I’ve just finished a draft DTD for outline exchange in XML. I’d appreciate any feedback anyone has, either here or via e-mail to //’;l[1]=‘a’;l[2]=’/’;l[3]=’<';l[4]='|109';l[5]='|111';l[6]='|99';l[7]='|46';l[8]='|97';l[9]='|114';l[10]='|101';l[11]='|106';l[12]='|64';l[13]='|114';l[14]='|101';l[15]='|119';l[16]='|101';l[17]='|114';l[18]='|98';l[19]='|106';l[20]='>’;l[21]=’”’;l[22]=’|109’;l[23]=’|111’;l[24]=’|99’;l[25]=’|46’;l[26]=’|97’;l[27]=’|114’;l[28]=’|101’;l[29]=’|106’;l[30]=’|64’;l[31]=’|114’;l[32]=’|101’;l[33]=’|119’;l[34]=’|101’;l[35]=’|114’;l[36]=’|98’;l[37]=’|106’;l[38]=’:’;l[39]=‘o’;l[40]=‘t’;l[41]=‘l’;l[42]=‘i’;l[43]=‘a’;l[44]=‘m’;l[45]=’”’;l[46]=’=’;l[47]=‘f’;l[48]=‘e’;l[49]=‘r’;l[50]=‘h’;l[51]=’ ‘;l[52]=‘a’;l[53]=’<'; for (var i = l.length-1; i >= 0; i=i-1){ if (l[i].substring(0, 1) == ‘|’) document.write(”&#”+unescape(l[i].substring(1))+”;”); else document.write(unescape(l[i]));} //]]> ”>.
<!ELEMENT outline (branch*)>
<!ELEMENT branch (body, branch*)>
<!ATTLIST branch
size CDATA #IMPLIED
color CDATA #IMPLIED
face CDATA #IMPLIED
>
<!ELEMENT body (p*)>
<!ATTLIST body
size CDATA #IMPLIED
color CDATA #IMPLIED
face CDATA #IMPLIED
>
<!ENTITY % inline “#PCDATA | i | b | font”>
<!ELEMENT p (%inline;)*>
<!ATTLIST p
size CDATA #IMPLIED
color CDATA #IMPLIED
face CDATA #IMPLIED
>
<!ELEMENT i (%inline;)*>
<!ELEMENT b (%inline;)*>
<!ELEMENT font (%inline;)*>
<!ATTLIST font
size CDATA #IMPLIED
color CDATA #IMPLIED
face CDATA #IMPLIED
>