Re: xpath condition on xml data in sitemap

2008-03-03 Thread dynnamitt
commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/xpath-condition-on-xml-data-in-sitemap-tp13857627p15799981.html Sent from the Cocoon - Users mailing list archive at Nabble.com

Re: xpath condition on xml data in sitemap

2008-03-03 Thread dynnamitt
-on-xml-data-in-sitemap-tp13857627p15801544.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: xpath condition on xml data in sitemap

2007-11-26 Thread Tobia Conforto
Sébastien Geindre wrote: i need to make a conditional treatment in my site generator transformer A if condition on xml from transformerA -- transformer B1 else -- transformer B2 transformer C serializer the condition is computed on xml data and global variables What you ask for is not

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Sébastien Geindre
Bonjour, is it impossible or my explanation are too 'messy' or my english too scrambled ?? just let me know... thanks. Seb Sébastien Geindre a écrit : Hello everybody, i need to make a conditional treatment in my sitemap : generator -- transformer A -(if condition on xml)-

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Dev at weitling
Hi Sébastien, I'm not the Cocoon guru around here, but could you elaborate on the kind of xml condition? Perhaps there is help :-) Florian Sébastien Geindre wrote: Bonjour, is it impossible or my explanation are too 'messy' or my english too scrambled ?? just let me know... thanks.

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Joerg Heinicke
What you outline we used to call content-based pipelines - and is not yet supported. By intention in the first place but the opinions change on this topic. You should find something in the archives. Joerg On 22.11.2007 4:28 Uhr, Sébastien Geindre wrote: Bonjour, is it impossible or my

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Sébastien Geindre
Dev at weitling a écrit : Hi Sébastien, I'm not the Cocoon guru around here, but could you elaborate on the kind of xml condition? Perhaps there is help :-) ok i'll try: the B1 transformer post http request to a webservice the B2 just transform XML data A transformer compute : -

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Dev at weitling
Well, my help looks like throwing a life-belt without a rope... If your transformer B1 and B2 are simple XSL you could merge their stylesheets and selecting the appropriate templates depending on your content. Another idea would be writing a custom selector choosing the transformer. Flowscript

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Sébastien Geindre
Dev at weitling a écrit : Well, my help looks like throwing a life-belt without a rope... If your transformer B1 and B2 are simple XSL you could merge their stylesheets and selecting the appropriate templates depending on your content. unfortunaletly, one of them is a custom transformer

RE: xpath condition on xml data in sitemap

2007-11-22 Thread Robin Rigby
[mailto:[EMAIL PROTECTED] Sent: 20 November 2007 14:07 To: users@cocoon.apache.org Subject: xpath condition on xml data in sitemap hi all, i need to make a conditional treatment in my sitemap : generator -- transformer A -(if condition on xml)- transformer B1 --|--- transformerC

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Dev at weitling
Sébastien Geindre wrote: Dev at weitling a écrit : Another idea would be writing a custom selector choosing the transformer. custom selector ? it will make the test on xml, and this xml could be pass to next transformer ? That was one of my dreams, looking at the API of Selector it

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Sébastien Geindre
: 20 November 2007 14:07 To: users@cocoon.apache.org Subject: xpath condition on xml data in sitemap hi all, i need to make a conditional treatment in my sitemap : generator -- transformer A -(if condition on xml)- transformer B1 --|--- transformerC -- serializer

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Ralph Goers
Not quite true. You can accomplish this using XMLFileModule. Joerg Heinicke wrote: What you outline we used to call content-based pipelines - and is not yet supported. By intention in the first place but the opinions change on this topic. You should find something in the archives. Joerg

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Ralph Goers
We are using the pattern similar to below in many, many places in our application. I should also note that we no longer use XMLFileModule but a new XPathXMLFileModule that I will be checking in shortly. XPathXMLFileModule works similar to XMLFileModule but it caches correctly and has more

Re: xpath condition on xml data in sitemap

2007-11-21 Thread Sébastien Geindre
Hello everybody, i need to make a conditional treatment in my sitemap : generator -- transformer A -(if condition on xml)- transformer B1 --|--- transformerC -- serializer (else) -

xpath condition on xml data in sitemap

2007-11-20 Thread Sébastien Geindre
hi all, i need to make a conditional treatment in my sitemap : generator -- transformer A -(if condition on xml)- transformer B1 --|--- transformerC -- serializer (else) - transformer B2