Re: How to serialize a XML file to disk?

2003-03-25 Thread joaocesar
thanks :) I'm trying to use sourcewrite with XSP here is the source: ( i'm getting to variable termo the query parameter from form, then I'll merge the term with a search URL, fetch the XML data and put it into the source:fragment down there) ?xml version=1.0 encoding=ISO-8859-1? xsp:page

Can I do this?

2003-03-25 Thread joaocesar
Can I (?) do anything like this: map:match pattern="search?query=*" map:generate type="file" src="" href="http://blablabla?term={1}">http://blablabla?term={1}/ map:transform type="xslt" src=""/ map:serialize type="html"//map:match I've found that if I do (...) pattern="*.search" (...)

Re: Can I do this?

2003-03-25 Thread joaocesar
I'm new at cocoon, but it seems to me a little blurry where the right place to do something... And I don't know for example, what can I do with an action, so I was experimenting some techniques to have my objective done, but what I'm looking for, is: I've made a form to search for a term. When a

Re: Can I do this?

2003-03-25 Thread joaocesar
Thanks :) I've added them into cocoon.xconf, but know i'm having this: message Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 description org.apache.avalon.framework.configuration.ConfigurationException: Error

Re: Can I do this?

2003-03-25 Thread joaocesar
Oops... forget it I've changed the wrong cocoon.xconf (I'm working on the network, but have changed local file :| ), it's now error free:) Thanks - Original Message - From: Reinhard Pötz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:56 PM Subject: RE: Can I do

Re: Can I do this?

2003-03-25 Thread joaocesar
It's really working :) Thanks ! :) I just have one problem, if I search for two terms it goes as term1+term2 and it produces no results, as well if i type them under quotes, like term1 term2 :| Can I parse the querystring on the fly ? Thanks - Original Message - From: [EMAIL PROTECTED]

How to serialize a XML file to disk?

2003-03-22 Thread joaocesar
Hi all :) We're doing a college work on cocoon and xml harvester potencial, and we would like to know if we can grab a given XML file (on the web) to a location on harddisk for a repository then work with it.. TIA

Re: How to serialize a XML file to disk?

2003-03-22 Thread joaocesar
Hi :) First of all thanks for your answer, but the requirements of the project is that the search form is a http based client and all the results must be displayed to it. The idea to create an XML repository with all the XML data that we grab. And then create several reports based on the data