Re: Xindice logicsheet - initial success
Anyway, I have read some of your previous replies regarding this subject. Have tried the util logicsheet and it's working out of the box, even for XPath queries. Great feature, thanks! But what I would like to do is to edit, remove, update...documents in Xindice. Try also XMLDBTransformer. It is located in the scratchpad, and can create / delete resources in the xindice. xupdate is also supported but I had no time to hunt all the bugs out of it. Thank you very much. I'll try it. I know XUpdate implementation is buggy in Xindice, but I'll try it. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice logicsheet - initial success
Josema Alonso wrote: I've sent email. Why do you need xsp logicsheet and why don't you use xmldb protocol with cinclude? This works out of the box, with no effort. I'm sorry Vadim, I've just browsed through the archives and I saw your reply. I do not know why I haven't got it. It seems I have some problem with my email box, cause now I'm getting today's messages from the list twice... Anyway, I have read some of your previous replies regarding this subject. Have tried the util logicsheet and it's working out of the box, even for XPath queries. Great feature, thanks! But what I would like to do is to edit, remove, update...documents in Xindice. Try also XMLDBTransformer. It is located in the scratchpad, and can create / delete resources in the xindice. xupdate is also supported but I had no time to hunt all the bugs out of it. Since I'm still not so good at Java, I see very difficult to me to write the proper action or generator needed to do it. So, I found the eXist logicsheet documentation: http://exist.sourceforge.net/xmldb.xsl.html and I thought it was the best for me. Everything in a logicsheet. And it lets me remove and add documents and collections, great. I couldn't test it more but at least the get-collection and get-document are working for me nicely. Btw, where should I start looking if I want to create a new action or generator for XUpdate as you suggested? Maybe at 'XMLDBGenerator.java' or 'XMLDBTransformer.java' better? Oh, and currently I refer to my Xindice collections in the XSP like this: xmldb:collection uri=xmldb:xindice://localhost:4080/db/addressbook/ But I'm not completely satisfied, cause it depends on my setup. What if someone doesn't have Xindice running on port 4080, for example? So, is there any way of referring to them through the pipeline matcher? Something like: cocoon://xmldb/addressbook/ You will need pipeline to process such request. Then it should work. Vadim I've tried the later and it doesn't work for me. Thank you very much. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice logicsheet - initial success
I've sent email. Why do you need xsp logicsheet and why don't you use xmldb protocol with cinclude? This works out of the box, with no effort. I'm sorry Vadim, I've just browsed through the archives and I saw your reply. I do not know why I haven't got it. It seems I have some problem with my email box, cause now I'm getting today's messages from the list twice... Anyway, I have read some of your previous replies regarding this subject. Have tried the util logicsheet and it's working out of the box, even for XPath queries. Great feature, thanks! But what I would like to do is to edit, remove, update...documents in Xindice. Since I'm still not so good at Java, I see very difficult to me to write the proper action or generator needed to do it. So, I found the eXist logicsheet documentation: http://exist.sourceforge.net/xmldb.xsl.html and I thought it was the best for me. Everything in a logicsheet. And it lets me remove and add documents and collections, great. I couldn't test it more but at least the get-collection and get-document are working for me nicely. Btw, where should I start looking if I want to create a new action or generator for XUpdate as you suggested? Maybe at 'XMLDBGenerator.java' or 'XMLDBTransformer.java' better? Oh, and currently I refer to my Xindice collections in the XSP like this: xmldb:collection uri=xmldb:xindice://localhost:4080/db/addressbook/ But I'm not completely satisfied, cause it depends on my setup. What if someone doesn't have Xindice running on port 4080, for example? So, is there any way of referring to them through the pipeline matcher? Something like: cocoon://xmldb/addressbook/ I've tried the later and it doesn't work for me. Thank you very much. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice logicsheet - initial success
Josema Alonso wrote: reply. I do not know why I haven't got it. It seems I have some problem with my email box, cause now I'm getting today's messages from the list twice... This seems to happen to me as well. During a one or two hour period in the afternoon (GMT - 5) on a fairly regular basis, I go without any cocoon-users mail, and then suddenly get a spate of duplicates for the messages that seem to have been sent in that time. On the other hand, mail sitting in my queue in the morning after all you Europeans and Asians have been so busy is not duplicated. Is there a hiccup in the mailqueue somewhere near Greenwich? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice logicsheet - initial success
I have successfully used this to query Xindice through Cocoon. The first block is in sitemap.xmap of the cocoon distribution. map:match pattern=xpath type=request-parameter map:generate src=xmldb:xindice://localhost:4080/db/{../1}#{1}/ map:serialize type=xml/ /map:match map:match pattern=mac-find map:act type=request map:parameter name=parameters value=true/ map:generate src=cocoon:/xmldb/shakespear/?xpath={findThis}/ map:serialize type=xml/ /map:act /map:match Perhaps this may not be the best way but it works a treat. Perry - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 7:02 AM Subject: Re: Xindice logicsheet - initial success Josema Alonso wrote: Dear Friends, Since I got no response to my previous email message, I've sent email. Why do you need xsp logicsheet and why don't you use xmldb protocol with cinclude? This works out of the box, with no effort. Vadim I tried it hard and I finally could make a xmldb logicsheet to work with Cocoon. It's the eXist logicsheet. I could only try it for retrieving documents by now but it works as expected. I'm too tired now. It's been a lot of hours to make Xindice and the logicsheet work with Cocoon and I need some rest. I'll test more tomorrow and I'll try to make a How-To. Now that Isee it running I must say it shoudn't be so hard... I hope I could understand better the whole Cocon Wiki thing and make it available there...if someone can help me a bit here... Best. ps: I've browsed carefully the archives and I read the mailing list frequently. I know there are still some people who can't make Xindice work with Cocoon. I understand you all... and I must say to all of you...it can be done! Don't give up! :-) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice logicsheet - initial success (howto written)
It sounds good to me. I was using it that way. But what about removing and updating? The logicsheet lets you remove collections and documents. Unfortunately it does not update. Anybody knows where to start for some XUpdate transformer? Oh, I put together all my efforts with the logicsheet at http://outerthought.net/wiki/Wiki.jsp?page=XindiceLogicsheet Best. - Original Message - From: Perry Molendijk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 11, 2002 1:25 AM Subject: Re: Xindice logicsheet - initial success I have successfully used this to query Xindice through Cocoon. The first block is in sitemap.xmap of the cocoon distribution. map:match pattern=xpath type=request-parameter map:generate src=xmldb:xindice://localhost:4080/db/{../1}#{1}/ map:serialize type=xml/ /map:match map:match pattern=mac-find map:act type=request map:parameter name=parameters value=true/ map:generate src=cocoon:/xmldb/shakespear/?xpath={findThis}/ map:serialize type=xml/ /map:act /map:match Perhaps this may not be the best way but it works a treat. Perry - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 7:02 AM Subject: Re: Xindice logicsheet - initial success Josema Alonso wrote: Dear Friends, Since I got no response to my previous email message, I've sent email. Why do you need xsp logicsheet and why don't you use xmldb protocol with cinclude? This works out of the box, with no effort. Vadim I tried it hard and I finally could make a xmldb logicsheet to work with Cocoon. It's the eXist logicsheet. I could only try it for retrieving documents by now but it works as expected. I'm too tired now. It's been a lot of hours to make Xindice and the logicsheet work with Cocoon and I need some rest. I'll test more tomorrow and I'll try to make a How-To. Now that Isee it running I must say it shoudn't be so hard... I hope I could understand better the whole Cocon Wiki thing and make it available there...if someone can help me a bit here... Best. ps: I've browsed carefully the archives and I read the mailing list frequently. I know there are still some people who can't make Xindice work with Cocoon. I understand you all... and I must say to all of you...it can be done! Don't give up! :-) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Xindice logicsheet - initial success
Dear Friends, Since I got no response to my previous email message, I tried it hard and I finally could make a xmldb logicsheet to work with Cocoon. It's the eXist logicsheet. I could only try it for retrieving documents by now but it works as expected. I'm too tired now. It's been a lot of hours to make Xindice and the logicsheet work with Cocoon and I need some rest. I'll test more tomorrow and I'll try to make a How-To. Now that Isee it running I must say it shoudn't be so hard... I hope I could understand better the whole Cocon Wiki thing and make it available there...if someone can help me a bit here... Best. ps: I've browsed carefully the archives and I read the mailing list frequently. I know there are still some people who can't make Xindice work with Cocoon. I understand you all... and I must say to all of you...it can be done! Don't give up! :-) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice logicsheet - initial success
Josema Alonso wrote: Dear Friends, Since I got no response to my previous email message, I've sent email. Why do you need xsp logicsheet and why don't you use xmldb protocol with cinclude? This works out of the box, with no effort. Vadim I tried it hard and I finally could make a xmldb logicsheet to work with Cocoon. It's the eXist logicsheet. I could only try it for retrieving documents by now but it works as expected. I'm too tired now. It's been a lot of hours to make Xindice and the logicsheet work with Cocoon and I need some rest. I'll test more tomorrow and I'll try to make a How-To. Now that Isee it running I must say it shoudn't be so hard... I hope I could understand better the whole Cocon Wiki thing and make it available there...if someone can help me a bit here... Best. ps: I've browsed carefully the archives and I read the mailing list frequently. I know there are still some people who can't make Xindice work with Cocoon. I understand you all... and I must say to all of you...it can be done! Don't give up! :-) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Xindice logicsheet - initial success
On Thursday 10 October 2002 00:15, Josema Alonso wrote: . . . I hope I could understand better the whole Cocon Wiki thing and make it available there...if someone can help me a bit here... . . . See the about page at http://outerthought.net/wiki/Wiki.jsp?page=About I just reviewed and completed it, it should give you all the required information - this wiki thing is probably simpler than what you think! -Bertrand - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]