Re: template builder problem ?

Neil Deakin <[email protected]> Sat, 23 Apr 2005 23:37:05 -0400
Newsgroups gmane.comp.mozilla.devel.rdf
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
vaab wrote:
> Hi,
> 
> I'm trying to use the templating system but couldn't manage to do it 
> simply follow reversly a property. Is this possible :
> 
> I just want to draw the classes/subclasses tree of RDF elements 
> representing classes such as in object programming concepts.
> 
> So I have these triples for example in my RDF :
> 
> Class --> subClassOf --> Resource
> Datatype --> subClassOf --> Class
> Property --> subClassOf --> Resource
> 
> should draw :
> 
> [+] Resource
>  |- [+] Class
>  |   \- Datatype
>  \- Property
> 
> This seems simple but the fact we must follow a property the other way 
> round to ask for childs do not seems to be supported by the builder.
> 

You actually can do that, can you give some example code of what isn't 
working?

You are using the full extended syntax right?

<content uri="?uri"/>
<triple subject="?parent" predicate=" ... subClassOf" object="?uri"/>

/ Neil