User-defined input in oxf:xmldb-query processor

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

User-defined input in oxf:xmldb-query processor

Florent Georges
  Hi

  The documentation about the xmldb processors (eXist) is still light,
so I try to discover them.  It seems it is not possible to set
user-defined parameters.  At least not like for the xslt processor:

    <p:input name="my-input" .../>
    ...
        <xsl:copy-of select="doc('input:my-input')"/>

  Is it really the case?  Does an other way exist?  The only solution I
found is to use XSLT to generate the query.  Nothing more simple?

  Regards,

--drkm




























       

       
               
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com 




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: User-defined input in oxf:xmldb-query processor

Alessandro  Vernet
Administrator
Florent,

On 8/9/06, Florent Georges <[hidden email]> wrote:
>   The documentation about the xmldb processors (eXist) is still light,

Light? This is a quite a compliment; I would have said nonexistent -
pun intended :). I quickly put something together on the Wiki, and
everyone is invited to expand on that:

https://wiki.objectweb.org/ops/Wiki.jsp?page=EXist

> so I try to discover them.  It seems it is not possible to set
> user-defined parameters.  At least not like for the xslt processor:
>
>     <p:input name="my-input" .../>
>     ...
>         <xsl:copy-of select="doc('input:my-input')"/>
>
>   Is it really the case?  Does an other way exist?  The only solution I
> found is to use XSLT to generate the query.  Nothing more simple?

Yes, you will pretty much always have to use XSLT, unless your query
is really static.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet