Combining XUL with SQLite
Look what Neil Deakin has just shown us: a XUL template created without using RDF! The data comes from our beloved embedded database SQLite. This hello world program written by Neil shows us how easy it would be:
<tree datasources="some-db" ref="*" rows="10" flex="1"
flags="dont-build-content dont-recurse">
<treecols>
<treecol id="name" label="Country" flex="1"/>
<treecol id="capital" label="Capital" flex="1"/>
<treecol id="population" label="Population" flex="1"/>
</treecols>
<template>
<query>
select * from Countries where name like '%e%'
</query>
<action>
<treechildren>
<treeitem uri="?">
<treerow>
<treecell label="?name"/>
<treecell label="?capital"/>
<treecell label="?population"/>
</treerow>
</treeitem>
</treechildren>
</action>
</template>
</tree>
XUL is just getting more and more exciting. :-)


1 Comments:
Note that troll and spam comments will be deleted without any notification.
At 7/17/2005 08:54:00 pm,
Anonymous said…
>XUL is just getting more and more exciting. :-)
Yes it IS!
Here is the link to XUL CMS project! It looks great!
Post a Comment
<< Home