Problem in designing pipelines

2012-03-23 Thread Patricia Déchandol
Hi everybody, I have a problem understanding how to write my pipelines. I have a first pipeline : map:match pattern=*/tree-expo-get-children map:generate type=xquery src=exist/xq/get-children-rubriques.xq

Re: Problem in designing pipelines

2012-03-23 Thread Patricia Déchandol
/ map:serialize type=html/ /map:match From: Patricia Déchandol [mailto:pdechan...@ajlsm.com] Sent: Friday, March 23, 2012 3:31 PM To: users@cocoon.apache.org Subject: Problem in designing pipelines Hi everybody, I have a problem

Re: Problem in designing pipelines

2012-03-23 Thread Patricia Déchandol
generator. So if cocoon://{1}/tree-expo-get-children returns XML you don’t need to specify a type on the generator. Robby From: Patricia Déchandol [mailto:pdechan...@ajlsm.com] Sent: Friday, March 23, 2012 4:54 PM To: users@cocoon.apache.org Subject: Re: Problem in designing

Re: Problem in designing pipelines

2012-03-23 Thread Patricia Déchandol
From: Patricia Déchandol [mailto:pdechan...@ajlsm.com] Sent: Friday, March 23, 2012 4:54 PM To: users@cocoon.apache.org Subject: Re: Problem in designing pipelines Yes, I understood this point I think. But which the of generator must I call there ? No particular type ? It may like

Re: Problem with query in Cocoon

2012-03-22 Thread Patricia Déchandol
('Bmgexporub')/record[lien_rubrique_parent='Bmgexporub-002'] return records { for $rubrique in $rubriques return $rubrique } /records Robby From: Patricia Déchandol [mailto:pdechan...@ajlsm.com] Sent: Wednesday, March 21, 2012 12:22 PM To: users@cocoon.apache.org

Problem with query in Cocoon

2012-03-21 Thread Patricia Déchandol
Hi everybody, new problem ! I try to execute query from cocoon I declared a xquery generator in my sitemap : map:generator name=xquery logger=sitemap.generator.xquery src=org.exist.cocoon.XQueryGenerator collection=xmldb:exist://localhost:8899/exist/xmlrpc/db user=admin

Upload widget in CForms

2011-12-01 Thread Patricia Déchandol
Hello, I have a problem, which seems to be simple but I can't find the answer. I work with Cocoon CForms. I use dojo 0.4.3 to define widgets. My CForm has a fd:upload widget to let the user upload a local file on the server. It works fine. I would need to get the path to the local file before

fb:insert-node width dynamic src

2011-11-08 Thread Patricia Déchandol
Hello, I face a problem with the use of fb:insert-node with my CForms. I need to import an existing XML document into another one. The imported XML can only be accessed through cocoon:// URI, so I use fb:insert-node src=… /. I need to be able to specify dynamic src attribute computed from the

Re: fb:insert-node width dynamic src

2011-11-08 Thread Patricia Déchandol
inserted at that point. Robby -Original Message- From: Patricia Déchandol [mailto:pdechan...@ajlsm.com] Sent: Tuesday, November 08, 2011 2:20 PM To: users@cocoon.apache.org Subject: fb:insert-node width dynamic src Hello, I face a problem with the use of fb:insert-node with my