From: David H. <dav...@bl...> - 2004-09-11 18:40:49
|
trans. (T. Onoma) wrote: > On Friday 10 September 2004 11:15 pm, Clark C. Evans wrote: > >>Could you show some examples. Talking about concrete things helps. > > Mind you that this is a _very small_ example with mostly expected elements. > But my system also takes plugins, of almost any variety --so I have no idea > what they might consit of. Under your proposal I would have to add schemas > for all these components. And plugin authors would have to too. Plus I'd have > to extend the plugin system to deal with schemas, all to type some integers > and floats as needed. Ugh. (BTW- a couple of these are also getting emitted > like crap b/c style is being forgotten.) Example modified to use #4 with ` : > --- &id001 !!model > meta: !!meta > title: Fireworks > tables: > - &id002 !!table > parent: *id001 > name: body > tags: [] > tag: > data: {} > style: {} > scale: &id003 > - 100% > form: false > sections: > - &id004 !!section > parent: *id002 > name: ` > tags: [] > tag: > data: {} > style: {} > scale: *id003 > repeat: true > repeat_length: 2 > cells: > - &id005 !!cell > parent: *id004 > name: ` > tags: [] > tag: > data: {} > style: {} > x: 0 > y: 0 > col: 0 > row: 0 > colspan: 1 > rowspan: 1 > width: 100% > alignment: left > content: `" entries " > elements: > - !!general > parent: *id005 > name: entries > tags: [] > tag: > data: > value: > - `"Testing > > " > - `"Testing Again... > > " > style: > font-weight: bold > font-size: 9pt > font-family: "sans-serif, helvetica" > literal: entries > size: 0 > - !!section > parent: *id002 > name: ` > tags: [] > tag: > data: {} > style: {} > scale: *id003 > repeat: true > repeat_length: 0 > cells: [] > - &id006 !!table > parent: *id001 > name: main > tags: > - table > tag: table > data: {} > style: > background: `#eeeeee > padding: 6px > width: 800px > scale: &id007 > - `200 > - auto > - `200 > form: false > sections: > - &id008 !!section > parent: *id006 > name: ` > tags: [] > tag: > data: {} > style: {} > scale: *id007 > repeat: false > repeat_length: 0 > cells: > - &id009 !!cell > parent: *id008 > name: ` > tags: [] > tag: > data: {} > style: {} > x: 0 > y: 0 > col: 0 > row: 0 > colspan: 1 > rowspan: 1 > width: `200 > alignment: center > content: `" fimg " > elements: > - !!general > parent: *id009 > name: fimg > tags: [] > tag: > data: > value: `"<img src=\"../../images/banana-right.jpg\">" > style: {} > literal: fimg > size: 0 > - &id010 !!cell > parent: *id008 > name: ` > tags: [] > tag: > data: {} > style: {} > x: 7 > y: 0 > col: 1 > row: 0 > colspan: 1 > rowspan: 1 > width: > alignment: left > content: `" title " > elements: > - !!general > parent: *id010 > name: title > tags: [] > tag: > data: {} > style: > font-weight: bold > font-size: 16pt > font-family: "sans-serif, helvetica" > literal: title > size: 0 > - &id011 !!cell > parent: *id008 > name: ` > tags: [] > tag: > data: {} > style: {} > x: 25 > y: 0 > col: 2 > row: 0 > colspan: 1 > rowspan: 1 > width: `200 > alignment: center > content: `" menu " > elements: > - !!general > parent: *id011 > name: menu > tags: [] > tag: > data: > value: `"<a href=\"../happy/\"><b>TS Weblands</b></a><br/> <a > href=\"../masstransit/\">Masstransit</a><br/> <a > href=\"../st-johns-alum/\">SJ2000</a><br/> <br> <a > href=\"../../jupzeus/\"><b>JupiterZeus</b></a><br/>" > style: > font-size: 10pt > background: yellow > border: solid yellow 4px > font-family: sans-serif > literal: menu > size: 0 > - &id012 !!cell > parent: *id008 > name: ` > tags: [] > tag: > data: {} > style: {} > x: 0 > y: 2 > col: 0 > row: 1 > colspan: 2 > rowspan: 1 > width: > alignment: left > content: `" body " > elements: > - !!general > parent: *id012 > name: body > tags: [] > tag: > data: {} > style: {} > literal: body > size: 0 > - &id013 !!cell > parent: *id008 > name: ` > tags: [] > tag: > data: {} > style: {} > x: 25 > y: 2 > col: 2 > row: 1 > colspan: 1 > rowspan: 1 > width: `200 > alignment: left > content: `" google " > elements: > - !!general > parent: *id013 > name: google > tags: [] > tag: > data: {} > style: {} > literal: google > size: 0 > - &id014 !!cell > parent: *id008 > name: ` > tags: [] > tag: > data: {} > style: {} > x: 0 > y: 6 > col: 0 > row: 2 > colspan: 3 > rowspan: 1 > width: > alignment: left > content: `" copyright " > elements: > - !!general > parent: *id014 > name: copyright > tags: [] > tag: > data: {} > style: > font-size: 6pt > font-family: "sans-serif, helvetica" > literal: copyright > size: 0 -- David Hopwood <dav...@bl...> |