hi,
now, after having solved more pressing issues, i need to come back to this  
issue.


> You could use XSLT (eg Fedora-supplied Saxon) to actually do the  
> transform.
> It would be similar in principle to the examples in 7.2 in Tutorial 2.

ok. atm i have a datstream containing the rdf query looks like

select $collTitle $member
 from   <#ri>
where  <info:fedora/my:fedoraid> <dc:title>                   $collTitle
and    $member                        <fedora-rels-ext:isMemberOf>  
<info:fedora/my:fedoraid>

what you're saying is, that instead of that plain text i should use a  
disseminator providing the query as external referenced datastream?

> The disseminator would need to take as inputs
> - your XSLT to construct the RDF query
> - the PID
>
> And would then output the RDF query for the specific object.
>
> I'm not sure how you would get Saxon to pick up the PID as a parameter;  
> so
> an alternative would be to bind to the DC datastream, and the XSLT could
> then extract the pid from <dc:identifier>.

does the xslt get a reference to my object automatically? or what does  
"bind to the DC datastream" mean?

> Obviously you'll have to modify the disseminator that executes the query  
> to
> reference your new QUERY disseminator.

yes.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to