Sure... here's the tree (abbreviated for clarity). Here I've hard-coded the uri
attribute value to
the value of an RDF:about attribute on a particular RDF:Description element.
<tree id="tree"
seltype="single"
ref="http://passwordmaker.mozdev.org/accounts"
datasources="domains.rdf">
<treecols>
<treecol id="nameCol" label="Name" primary="true"/>
<treecol id="descriptionCol" label="Notes"/>
<treecol id="passwordLengthCol" label="Password Length"/>
...
</treecols>
<template>
<rule>
<treechildren>
<treeitem id="treeitem" uri="rdf:#$imX6r">
<treerow>
<treecell label="rdf:http://passwordmaker.mozdev.org/rdf#name"/>
<treecell label="rdf:http://passwordmaker.mozdev.org/rdf#description"/>
<treecell
label="rdf:http://passwordmaker.mozdev.org/rdf#passwordLength"/>
...
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
</tree>
Here is the corresponding RDF data abbreviated for clarity):
<RDF:Description RDF:about="rdf:#$imX6r"
NS1:name="1"
NS1:description=""
NS1:passwordLength="12"
NS1:urlToUse="yahoo.com"
... />
--- Philip Chee <[EMAIL PROTECTED]> wrote:
> On Sat, 25 Feb 2006 15:56:17 -0800 (PST), Eric H. Jung wrote:
>
> > I have a RDF-backed <tree/> which builds content. I'm trying to narrow what
> > it displays to
> just a
> > single item (RDF:Description) in the RDF file. I thought changing the uri
> > attribute of
> > <treeitem/> from "rdf:*" to "rdf:#$imX6r" would work, but this didn't do
> > it. I also played
> with
> > the ref attribute on <tree/>, but that also didn't help.
>
> How about posting the rules you are using in your template?
>
> Phil
> --
> Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
> Guard us from the she-wolf and the wolf, and guard us from the thief,
> oh Night, and so be good for us to pass.
> [ ]The Law is your friend..but watch out for the Lawyers.
> * TagZilla 0.059
> _______________________________________________
> Project_owners mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/project_owners
>
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners