Hi,

I am writing a prototype to show how Presentation Server might be used
to power XMLfr (http://xmlfr.org) starting with the XMLfr features that
need a most urgent attention (actually I am writing two prototypes, one
with Cocoon and another one with Presentation Server).

The first feature I am implementing is a search engine interface based
on Lucene. The result of this is available at
http://beta.xmlfr.org/orbeon/lucene/cherche (the CSS is developed for
Mozilla and doesn't work with IE yet).

This is done as in two steps:

      * The LuceneProcessor
        
(http://dev.xmlfr.org/svn/xmlfr-beta/sources/org/xmlfr/orbeon/LuceneProcessor.java) is 
used to generate a RSS channel with the search results. This first pipe is described 
in http://dev.xmlfr.org/svn/xmlfr-beta/orbeon/WEB-INF/resources/lucene/rss.xpl).
      * A transformation does the translation between this RSS channel
        and the user interface (the pipe is described in
        
http://dev.xmlfr.org/svn/xmlfr-beta/orbeon/WEB-INF/resources/lucene/cherche.xpl and 
the transformation available at 
http://dev.xmlfr.org/svn/xmlfr-beta/orbeon/WEB-INF/resources/lucene/affiche.xsl).

In that transformation, I currently access to the RSS document using the
HTTp protocol:

<xsl:apply-templates
select="document(concat('http://localhost:8280/xmlfr-orbeon/lucene/rss',
$requestQuery))/rdf:RDF"/>

Is there a way to access directly to the output of the rss.xpl pipe with
the same query string?

I have tried the OXF protocol:

<xsl:apply-templates select="document('oxf:/lucene/rss.xpl')/rdf:RDF"/>

but "oxf:/lucene/rss.xpl" returns the XML document describing the pipe
rather than the result of the pipe.

I have also tried "oxf:/lucene/rss" but I have an IO error saying that
/lucene/rss" doesn't exist.

That would be nice to have something similar to the "cocoon:" protocol
that lets you execute a pipeline and get its result from wherever you
are (XSLT, Java, ...).

Thanks,

Eric
-- 
Carnet web :
           http://eric.van-der-vlist.com/blog?t=category&a=Fran%C3%A7ais
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to