How do you create a result-tree-fragment and return it from an extension
function. I'm making extension functions that interoperate with swi-prolog
and RDF... basically my extension functions query an RDF database, and the
results I want to be tree-fragments:

<xsl:variable name="solutions"
select="rdf:query('Resource','dc:title','Title')"/>

and solutions might contain:

<solutions>
        <solution>
                <term variable="Resource">http://blah</term>
                <term>dc:title</term>
                <term variable="Title">My Web Page</term>
...

Reply via email to