Re: Configuration oddity

2008-12-23 Thread Luca Morandini
Peter Flynn wrote: Luca Morandini wrote: Peter Flynn wrote: Whereabouts in the pipeline is that /cocoon veing inserted, and why? I've clearly misunderstood something vital here, but I can't see what. Just one question: do you use Apache HTTPd's mod_proxy or mod_rewrite as a front-ent to

RE: generate pdf from xml with embedded image?

2008-12-23 Thread Marten van der Honing
Peter: Did you write a preprocessor in cocoon? Where can i find more info on that? Meanwhile i tried another approach: xsl:variable name=image-base64 select=.//IMAGE/ fo:external-graphic src=url('data:image/gif;base64,{$image-base64}') height=3cm width=3cm / But now i get an error in html

Re: generate pdf from xml with embedded image?

2008-12-23 Thread Joerg Heinicke
Marten van der Honing wrote: Peter: Did you write a preprocessor in cocoon? Where can i find more info on that? Meanwhile i tried another approach: xsl:variable name=image-base64 select=.//IMAGE/ You might try xsl:variable name=image-base64 select=string(.//IMAGE)/ just to be sure.

Re: FW: Problem with large xml using aggregate

2008-12-23 Thread Joerg Heinicke
Kothapalli, Rajani K wrote: We have a pipeline that looks like: map:pipeline map:match pattern=*/*.testcontent map:aggregate element=wrapper map:part src=cocoon:/{1}/x/ map:part src=cocoon:/{1}/y/ map:part

Re: How to set the language for a date?

2008-12-23 Thread Joerg Heinicke
Smigge wrote: Isn't there a simple way of just changing the locale - even only within one xslt? As you can see there is no standardized way of handling dates locale-aware in XSLT. I really recommend to do this using i18n functionality of Cocoon. Joerg

RE: generate pdf from xml with embedded image?

2008-12-23 Thread Marten van der Honing
With xsl:value-of select=$image-base64 / i get the base64 content as tekst inside the pdf. But with fo:external-graphic src=url('data:image/gif;base64,{$image-base64}') height=3cm width=3cm / i still get no visible image :-( The error i got before was due to an mistake i made in another

RE: generate pdf from xml with embedded image?

2008-12-23 Thread Marten van der Honing
Now i tried: fo:external-graphic src=url('data:image/gif;base64,R0lGODlhMAAzALMAAMe8UuTZWggCDq2lQzAAYCQASJSP NBUAK/zQ4VRUEiQiDvje nLyYtXx4JU8/TgAAACH5BAkAAA8ALAAwADMAAAT/8ElJqr0z63072VRxCCR5 FBioEeLhjm6BVhlxKGVenpb62LqgQEb7uRyM5KBhaDgVON5nUyA5BkqD1pmIzh4i