I did look at the WoodyDatatypeReference page, but I didn't understand. When I tried to do just what you said there, I got an error 'The prefix "wd" for element "wd:selection- list" is not bound' and I'm not sure what it means. When you say "transform it to the format Woody expects"... what format is that? Billie
> On Tue, 2004-04-27 at 17:51, Billie wrote: > > What I'd like to do is populate a form selection list with the results of a > SQL query. I'm pretty new at Woody overall, and I > > haven't been able to figure out binding using the userdocs. Is there a > step-by-step tutorial of binding anywhere out there, or > > can someone help describe to me how this would be done? > > You don't need the binding for this. > > See also: > http://wiki.cocoondev.org/Wiki.jsp?page=WoodyDatatypeReference > > You define the selection list as follows: > <wd:selection-list src="cocoon:/mychoices.xml" dynamic="true"/> > > whereby mychoices.xml would match on a sitemap pipeline which could e.g. > use ESQL or the SqlTransformer to execute the query, and then transform > it to the format woody expects by using an XSLT. > > -- > Bruno Dumon http://outerthought.org/ > Outerthought - Open Source, Java & XML Competence Support Center > [EMAIL PROTECTED] [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
