Re: content not generated from template
Brian Frein <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.rdf |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
so if I have the following datasource,
----
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ns="http://www.foo.org/resources/">
<rdf:Description rdf:about="http://www.foo.org/resources#Node">
<ns:property>Value</ns:property>
</rdf:Description>
</rdf:RDF>
----
you mean that I cannot use a template to extract de "value" of
"property"? How should be the datasource?
(this changes has been updated into moz1.7, hasn't it? because I *CAN*
use a template in moz1.6)
tx.
Neil Deakin wrote:
> Brian Frein wrote:
>
>> The containment attribute:
>> "his attribute specifies RDF properties that indicate that a resource
>> is a container"
>>
>> I have only one element in the datasource, but it is *NOT* a container!
>>
>
> The container resource and generated member resources must be different.
>
> Templates are used to iterate over a set of children, although they
> don't have to be children of a container. If you just want to display
> some fields from one resource you cannot use a template.
>
> / Neil