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
-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]
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
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)-
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.
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
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 :
-
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
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
[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
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
: 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
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
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
Hello everybody,
i need to make a conditional treatment in my sitemap :
generator -- transformer A -(if condition on xml)-
transformer B1 --|--- transformerC -- serializer
(else) -
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
16 matches
Mail list logo