Re: Dynamic SVG with XSL

2005-07-28 Thread Joerg Heinicke
On 28.07.2005 01:16, Andres Taborda wrote: hello list, I are generate an document xml and display an part html + image svg. my source code have an fragment of svg (svg.. /svg) the browser display none 0 result. only the content html (tables, fonts,etc). the image svg not show the plugins of

Re: Dynamic SVG with XSL

2005-07-28 Thread Derek Hohls
What tags are you using to embed the SVG in your HTML? Have you checked the pipeline generating your SVG and have you tried displaying that as XML? [EMAIL PROTECTED] 2005/07/28 01:16 AM hello list, I are generate an document xml and display an part html + image svg. my source code have an

Re: document(...) broken when using xsltc

2005-07-28 Thread Antonio Fiol Bonnín
2005/7/27, Joerg Heinicke [EMAIL PROTECTED]: On 27.07.2005 15:54, Antonio Fiol Bonnín wrote: I have been changing my transforms to execute with XSLTC instead of interpreted Xalan. However, some of them did not work properly, showing erratic behaviour, or even throwing NullPointerException. In

Re: Authentication Framework: Separate pipelines required for public versus private?

2005-07-28 Thread Sami Rajala
It depends how you match your pages in the pipeline. Authentication fw (both action and flow based) allows you to protect for example a single match element: map:match pattern=protectedresource map:act type=auth-protect map:parameter name=handler value=portalhandler/ map:generate

Fwd: HTMLGenerator for parameter-data

2005-07-28 Thread Benjamin Boksa
Hi g[R]eK, If it cames from textarea you would be interested in using ModuleSource[1], but if it cames from file input you should take a look at PartSource[2], both used with HTMLGenerator. Using module source would be like this: map:generate type=html

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread ian . d . stewart
Sounds like you need to change srcdir from ${cocoon.home} to ${cocoon.home}/src/java HTH, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564

Jetty appears to die

2005-07-28 Thread Ron Wheeler
When I run cocoon.bat from the command line in Windows 2000, it opens a second window and outputs some lines indicating that it is loading things and then the window closes and connections from the browser or telnet are refused. If I go to my Lenya directory and run the Lenya.bat, it works

JCR question

2005-07-28 Thread Torsten Schlabach
Hi guys, I have successfully achieved this: 1. I have built Jackrabbit and created a sample repository using the examples (First Steps) code samples. This is a repository which is entirely independent of Cocoon. 2. I have imported some XML stuff into the repository, also following that

Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)

2005-07-28 Thread Michael Thermos
Hallo. Again. I'm using JXTemplateGenerator to pass values from the form to the results page.Here is a bit of code: map:match pattern=*-success-pipeline.jx map:generate type=jx src=forms/{1}_success_jx.xml/ map:call resource=simple-page2html map:parameter name=file

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread Ron Wheeler
Where is this set? [EMAIL PROTECTED] wrote: Sounds like you need to change srcdir from ${cocoon.home} to ${cocoon.home}/src/java HTH, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread Ron Wheeler
How does build tell if it is being built for Jetty or Tomcat or does it matter. What has to be modified in local... The only thing that I have is a line to turn off the generation of te javadocs since there is a bug somewhere in the ant task description that generates a command line that is

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread Upayavira
If you're trying to build classes for your app which runs in Cocoon, just point the classes (project/properties/java build path/default output folder) to $COCOON_WEBAPP/WEB-INF/classes. Then, whenever you restart your container (jetty or tomcat), you'll get the classes that Eclipse compiled

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread Ron Wheeler
I am just trying to get the Cocoon-2.1.7 stable distribution to build and run. I have got Lenya to build and run (both under tomcat and Jetty) with some minor problems - can not find localization string libraries. Ron Upayavira wrote: If you're trying to build classes for your app which

Re: JCR question

2005-07-28 Thread Josias Thoeny
On Thu, 2005-07-28 at 16:28 +0200, Torsten Schlabach wrote: Hi guys, I have successfully achieved this: 1. I have built Jackrabbit and created a sample repository using the examples (First Steps) code samples. This is a repository which is entirely independent of Cocoon. 2. I have

Re: JCR question

2005-07-28 Thread Josias Thoeny
On Thu, 2005-07-28 at 17:17 +0200, Josias Thoeny wrote: On Thu, 2005-07-28 at 16:28 +0200, Torsten Schlabach wrote: Hi guys, I have successfully achieved this: 1. I have built Jackrabbit and created a sample repository using the examples (First Steps) code samples. This is a

Re: Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)

2005-07-28 Thread Mark Lundquist
On Jul 28, 2005, at 7:37 AM, Michael Thermos wrote: Hallo. Again. Hiya :-) I'm using JXTemplateGenerator to pass values from the form to the results page. Here is a bit of code: map:match pattern=*-success-pipeline.jx map:generate type=jx src=forms/{1}_success_jx.xml/

Re: Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)

2005-07-28 Thread Michael Thermos
Hallo Mark. This is my pipeline for test purposes: map:match pattern=test.pdf map:generate type=html src=context://reports/forms/reports_success_jx.xml / map:transform src=context://reports/resources/xhtml2fo.xsl / map:serialize type=fo2pdf mime-type=application/pdf / /map:match My idea was to

xmltype and sql transformer

2005-07-28 Thread Lionel Crine
I'm trying to get an XMLTYPE from oracle. Here is the query : sql:query name=nameSELECT ir_struct FROM T_BNF_IR WHERE ir_sysID ='32'/sql:query but it returns nothing. I have to write :SELECT ir_struct||'' instead of SELECT ir_struct But this generates xml error because : the resut send :

XPointer elementpath scheme: arbitrary element?

2005-07-28 Thread J.D. Williams
Is there a way to select an arbitrary element, say p id=intro from a file using the XPointer elementpath scheme demonstrated in the Aggregation samples? Using only the syntax demonstrated, it is possible to select the first of a set of elements (e.g., p), but I was wondering whether you could

Re: HTMLGenerator for parameter-data

2005-07-28 Thread Bertrand Delacretaz
Le 28 juil. 05, à 00:04, Benjamin Boksa a écrit : ...I am looking for a simple way to transform HTML which came from a form to XML. The HtmlTransformer (from the html block) parses snippets of HTML embedded in an XML document, this might be what you're looking for. -Bertrand smime.p7s

Re: xmltype and sql transformer

2005-07-28 Thread lionel crine
I spoke too fast, I used to make it work : SELECT ir_struct||'' AS ir_struct ... Lionel On Thu, 28 Jul 2005 19:44:10 +0200, Lionel Crine wrote I'm trying to get an XMLTYPE from oracle. Here is the query : sql:query name=nameSELECT ir_struct FROM T_BNF_IR WHERE ir_sysID ='32'/sql:query