[C2] stylebook

2001-07-18 Thread Steffen Stundzig
Hi, creates anybody bunches of static html or pdf pages with C2 instead of stylebook? I see in the C2 dist, that all the xdocs were created with stylebook. Can C2 do this for me? With the C2 CLI? I ask because, I start a new project now, and I will establish XML and C2 as documentational base

cocoon-users@xml.apache.org

2001-07-18 Thread andre powroznik
Did you try putting it in a CDATA ? Drasko Kokic wrote: > Hello again, > > could anybody provide some code how to overcome this > problem?! > > How should the nbsp be defined in XSL so that after > serialisation it only produces " "? > > TIA > Drasko > > --- Frans Thamura <[EMAIL PROTECTED]> w

RE: how to create dynamic graphique with XML

2001-07-18 Thread Luca Morandini
Philippe, I've been looking for a product that generates simple business graphics in SVG from XML data; but I didn't fine any: if you find (or build) something similar, could you, please, keep me informed ? Best regards,   -    Luca

mod_jk.conf-auto [wa: RE: C1 to C2]

2001-07-18 Thread Luca Morandini
> -Original Message- > From: Lajos Moczar [mailto:[EMAIL PROTECTED]] > Sent: mercoledì 18 luglio 2001 3.10 > To: [EMAIL PROTECTED] > Subject: Re: C1 to C2 > > > I always point directly to mod_jk.conf-auto in httpd.conf because it > will always be up to date. It is created each time Tomcat

RE: how to create dynamic graphique with XML

2001-07-18 Thread Morrison, John
JASC have something which can draw SVG, CorelDraw 9 has a pug-in and 10 full support and the Adobe tools are (apparently) very good at outputting SVG. The easiest way to generate something which is dynamic when you don't understand the tech well enough to write it verbatim is to generate a static

cocoon-users@xml.apache.org

2001-07-18 Thread Drasko Kokic
Yes I did ... and it produces the following HTML:   Needless to say that is not exactly what I was looking for :-) Thanks for your help Drasko --- andre powroznik <[EMAIL PROTECTED]> wrote: > Did you try putting it in a CDATA ? > > > > Drasko Kokic wrote: > > > Hello aga

Re: [C2] stylebook

2001-07-18 Thread Drasko Kokic
I am producing some of my technical documentation with home-made stylesheets using C2. Unfortunately, it is all still online based (user has to click a page in order to generate it) ... I would need to change it to offline batch mode. Also, it would be better to use some "more standard" stylesheet

Re: same name attributes in one tag

2001-07-18 Thread Tetsu Ito
Thank you for your quick reply. I know it is not a well-formed XML nor well-formed HTML. But animation png in J-Sky(mobile internet service in Japan) requiers to be so. Therefore I am searching way to generate this tag. I have tried Java-extension to xsl:stylesheet. Like this, but output of th

cocoon-users@xml.apache.org

2001-07-18 Thread Stefan Seifert
Or, just put a Entity Reference Declaration in your XML document like: ]> ... or, you can directly use   instead of   in you XML source without any further declarations. Stefan > -Ursprüngliche Nachricht- > Von: andre powroznik [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 18.

cocoon-users@xml.apache.org

2001-07-18 Thread Klaus-Hendrik Wolf
Hi, just try   that should work (does for me). Regards Klaus Hendrik At 10:17 18.07.2001, you wrote: >Yes I did ... and it produces the following HTML: > >   > >Needless to say that is not exactly what I was looking >for :-) > >Thanks for your help >Drasko > >--- an

cocoon-users@xml.apache.org

2001-07-18 Thread Drasko Kokic
Thanks for your help still produces & in the output HTML On the other side your definition: ]> works, but produces only " " (as it should) I need to generate in the output HTML the "non breakable space"   It must have been done by somebody before :-) Drasko --- Anthony Diodato <[EMAIL PRO

Re: [C2] stylebook

2001-07-18 Thread Steffen Stundzig
Hi, I need also such a batch mode for several uri's. Similar to the book.xml in stylebook, wich contains all needed parts for the complete documentation. The generation should be done online or offline. I need also the generation of a nice pdf document with all the stuff. Any thoughts? Is th

cocoon-users@xml.apache.org

2001-07-18 Thread Steffen Stundzig
Hi, do you've tried   for the non breakable space? Regards Steffen... On Mit, 18 Jul 2001 you wrote: > Thanks for your help > > still produces & in the output HTML > > On the other side your definition: > > ]> > works, but produces only " " (as it should) > > I need to generate

cocoon-users@xml.apache.org

2001-07-18 Thread Drasko Kokic
Thanks for your suggestion :-) Unfortunately, " " is not exactly same as " " Drasko --- Stefan Seifert <[EMAIL PROTECTED]> wrote: > Or, just put a Entity Reference Declaration in your > XML document like: > > > ]> > > ... > > > or, you can directly use   instead of   in > you XML source

cocoon-users@xml.apache.org

2001-07-18 Thread Drasko Kokic
Thanks a million ... this worked :-) Just a question ... isn't it prohibited to use "disable-output-escaping" in Cocoon?!?! Drasko --- Klaus-Hendrik Wolf <[EMAIL PROTECTED]> wrote: > Hi, > > just try > disable-output-escaping="yes">  > that should work (does for me). > > Regards > >

cocoon-users@xml.apache.org

2001-07-18 Thread Stefan Seifert
Well, some conversion process in you mailing system or in the mailing list stripped the elementary pieces of my. In the " " (or the second sentence between "use" and "instead") should be (here with spaces between): & # 1 6 0 ; ( in words: amp, double-cross, one, six, zero, semicolon ) Stefan

logicsheet and taglib

2001-07-18 Thread Per Steffensen
Hi   That is the difference between logicsheets and taglibs?   I can remember that I have seen this question before, but cannot find the answer anymore. So please just answer me short.   Thanx    

Re: Classpath Problems With Actions

2001-07-18 Thread Marks local account
Berin Loritsch wrote: > Marks local account wrote: > > > > Cocoon 2.0b1 in tomcat 3.2.2 on Linux 7.1 > > > > I am trying to write an action for use in my site map. When c2 > executes > > the sitemap java file I notice it is throwing the following exception > > (from cooocon.log): > > If it is a p

Re: logicsheet and taglib

2001-07-18 Thread Arnaud Bienvenu
On Wed, Jul 18, 2001 at 12:31:51PM +0200, Per Steffensen wrote: > That is the difference between logicsheets and taglibs? A logicsheet defines a taglib http://xml.apache.org/cocoon2/logicsheet-guide.html -- Arnaud Bienvenu http://www.generasound.com/ ---

cocoon-users@xml.apache.org

2001-07-18 Thread andre powroznik
Hi, would not work simply   without disable-output-escaping ? Drasko Kokic wrote: > Thanks a million ... this worked :-) > > Just a question ... isn't it prohibited to use > "disable-output-escaping" in Cocoon?!?! > > Drasko > > --- Klaus-Hendrik Wolf <[EMAIL PROTECTED]> wrote: > > Hi, > >

Re: XSP - different compile-time/run-time classpaths?

2001-07-18 Thread Marks local account
Greg Merrill wrote: > > Has anyone seen behavior like this before? I'm > running JBoss w/embedded Tomcat. > It seems similar to a problem I am having with my own actions. Check out the thread 'Classpath problems with Actions' Mark Miller Web Architect Logica -

Cocoon + Tomcat Inst. need advice

2001-07-18 Thread Michael Bierenfeld
Hello, last week I switched over from jserv to tomcat + mod_jk. The context cocoon is confgured and all samples are working. On top of that I have created an additional context /Projekts to store our "own" Applications and jar-files It looks like the following : $TOMCAT_HOME/webapps/cocoon

Re: Classpath Problems With Actions

2001-07-18 Thread Berin Loritsch
Marks local account wrote: > > Berin Loritsch wrote: > > > Marks local account wrote: > > > > > > Cocoon 2.0b1 in tomcat 3.2.2 on Linux 7.1 > > > > > > I am trying to write an action for use in my site map. When c2 > > executes > > > the sitemap java file I notice it is throwing the following ex

It's about Cocoon 2.1-dev

2001-07-18 Thread Yasir Khalil Al Masri
Hi, Unfortunately, this version of Cocoon does not come with "samples" folder that explains how to use this new version. It came to me that it follows a complete different architecture from the 1.x versions that you can't simply figure out. So I wonder if there is any article or tutorial that

fixed length messages

2001-07-18 Thread java guru
Hi., I know this is not right forum to ask...out of choice..here is my question.. I am trying to convert a normal data(from database or simply from hashtable) paired as field/value into a fixed length message string..meantime i need to specify which field go to which position of the output mess

Re: XSP - different compile-time/run-time classpaths?

2001-07-18 Thread Michael Bierenfeld
Greg Merrill wrote: > > Does XSP use a different classpaths at compile-time > and run-time? The reason I ask is because I'm seeing > the following strange behavior: > > I have an XSP which imports/uses some utility classes > which live in a jar file within my war's WEB-INF/lib. > When I access t

C2 Won't Start Apache 1.3.20 Tomcat 3.2.2 W2K Server SP2

2001-07-18 Thread steve
Hi, Any help or pointers would be much appreciated The Cocoon servlet won't start. The embedded exception is org.xml.sax.SAXNotSupportedException: Property:http://xml.org/sax/properties/lexical-handler I'm sure I've followed the instructions exactly with a CVS from today. Tomcat & Apache ar

Re: [C2] Docs, Docs, Docs....

2001-07-18 Thread Peter Royal
At 03:03 PM 7/17/2001 -0700, you wrote: >Can everyone please take some time to contribute to the docs? This will be >really helpful for >C2-Beta2. Can we create a list of areas that need improvement? I'd love to contribute but i'd like to know where help is needed :) -pete -- peter royal -> [

RE: [C2] Docs, Docs, Docs....

2001-07-18 Thread Morrison, John
Pick an itch and scratch ;) Basically - anywhere. > -Original Message- > From: Peter Royal [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 18 July 2001 2:22 pm > To: [EMAIL PROTECTED] > Subject: Re: [C2] Docs, Docs, Docs > > > At 03:03 PM 7/17/2001 -0700, you wrote: > >Can everyone p

Re: Getting the length of a String in px?

2001-07-18 Thread Sylvain Wallez
Kiril Sramko a écrit : > > Hi, I just started with SVG, cocoon and batik. > > I can't find a solution in the docs for the problem I've got to solve. I need > to know the length of a string I'm getting from a XML-file in px for the > width of the generated JPG. Im formating this string with dif

util:get-file-contents with Cocoon2.1-dev

2001-07-18 Thread Arnaud Bienvenu
Trying to use on Cocoon2.1-dev (cvs updated today), I noticed three problems : - You must specify the encoding attribute, or go to hell - You must catch the java.io.IOException, or apply the patch I made for util.xsl - You must use absolute path for the name of the file Since I'm a beginner with

[C1] Custom Error Template / Log File?

2001-07-18 Thread Scott Jones
Hello, I have set up my cocoon application to not handle errors internally, and then they are handled by tomcat... This is nice because the error messages are hidden from our users (who get scared by stack traces) and can send an error report to our team. The only problem is that my tomcat erro

Employee Database Sample

2001-07-18 Thread Madock Chiwenda
I am trying to access employee sample bundledwith cocoon but I get the following error: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate():java.lang.RuntimeException: Could not get the datasource java.sql.SQLException: You cannot get a Poolable before the pool

Re: Employee Database Sample

2001-07-18 Thread Christian Haul
On 18.Jul.2001 -- 06:46 PM, Madock Chiwenda wrote: > I am trying to access employee sample bundledwith cocoon but I get the > following error: > > org.apache.cocoon.ProcessingException: Exception in > ServerPagesGenerator.generate():java.lang.RuntimeException: Could not get > the datasource ja

java.lang.ClassNotFoundException

2001-07-18 Thread Yasir Khalil Al Masri
Hi, I'm trying the simplest xsp page ever to test it on the coccon 2.1-dev; it consists of an xsp page and an xsl page for display. In the file sitemap.xmap I put this: I put a file called hello.xsp in folder xsp in the current root (same as sitemap.xmap directory), then I ty

Re: Employee Database Sample

2001-07-18 Thread Davanum Srinivas
Christian, Can you please add this question to the faqs.xml? Thanks, dims --- Christian Haul <[EMAIL PROTECTED]> wrote: > On 18.Jul.2001 -- 06:46 PM, Madock Chiwenda wrote: > > I am trying to access employee sample bundledwith cocoon but I get the > > following error: > > > > org.apache.cocoo

cocoon-users@xml.apache.org

2001-07-18 Thread Uyttenhove Jan
don't define anything, just use   directly Jan Jan Uyttenhove Software Engineer The E-corporation -Original Message- From: Drasko Kokic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 10:40 To: [EMAIL PROTECTED] Subject: RE: the problem of   Thanks for your help still pr

Re: C1 to C2

2001-07-18 Thread Andre Juffer
Hi All, I got it finally working. The directive JkMount /cocoon/* ajp12 did it. I apparently kept on missing that part, since this was not required for tomcat-apache-cocoon1, where always, it seems, .xml was employed to redirect xml request to cocoon1. I would support the suggestion of Luca

Re: C1 to C2

2001-07-18 Thread Davanum Srinivas
Andre, Can you re-post the complete instructions in the form of a FAQ? I will check it in. Thanks, dims --- Andre Juffer <[EMAIL PROTECTED]> wrote: > Hi All, > > I got it finally working. The directive > > JkMount /cocoon/* ajp12 > > did it. I apparently kept on missing that part, since this

Problem with Cocoon

2001-07-18 Thread Vince Adegoke
Dear support team, after following the specified instructions as per the set up of cocoon software along with tomcat (apache as server). It does not work. When I make a request for xml file through IE or Netscape all I could see is a blank screen that displays " type="text/wml" ". When making a

It's about Cocoon 2.1-dev

2001-07-18 Thread Yasir Khalil Al Masri
Hi, Unfortunately, this version of Cocoon does not come with "samples" folder that explains how to use this new version. It came to me that it follows a complete different architecture from the 1.x versions that you can't simply figure out. So I wonder if there is any article or tutorial th

Re: util:get-file-contents with Cocoon2.1-dev

2001-07-18 Thread Davanum Srinivas
Arnaud, Try the latest Code from CVS. - Made the encoding attribute optional. - Fixed relative path problem. (if you specify just "data.txt" it will look under cocoon directory for it). Note that the IOException is thrown by design. The LogicSheet should not "hide" this exception. Thanks, dim

RE: Problem with Cocoon

2001-07-18 Thread Benjamin Cramer
Vince, I am running the same set up as you. I have other problems, but Cocoon is probably running on your machine. You just need to point to your Apache port (80) on most set ups. You will get the type="text/wml" or type="text/xml" if you have your browser pointing to the Tomcat port. Ex. I have

Cocoon and Silver stream

2001-07-18 Thread sdesai4
I could import cocoon.war file in to silver stream server and on restarting server it tries to open war file where it fails. The error message from Cocoon is: (It seems like it is trying to open war file and put it in directory /MSSQLSERVER/NEDSS . Is sysntex correct for this (the ! mark)? ) Any h

disable-output-escaping="yes"

2001-07-18 Thread Roger Brooks
We are migrating text data from a legacy system to one which uses Cocoon for presentation. In some cases the legacy data contain line breaks, which we wish to reproduce on the new system. The easiest way to do this appears to be to embed "" in the data where the line breaks should occur. These

Re: C1 to C2

2001-07-18 Thread Mike Haarman
Yes, it works here as well, with ajp13. The difference is changing this line: JkMount /cocoon/*.xml ajp13 to: JkMount /cocoon/* ajp13 I've noticed a variety of other directives in the snips here and on the tomcat list, but this is the one that got C2 working. I suppose the distinction is th

Research on XSP compile-time/run-time classpaths

2001-07-18 Thread Greg Merrill
I took a look at the XSP processing code to see if I could figure out why XSPs which compile cannot be run due to NoClassDefFoundExceptions. Here is what I found. (I am running Cocoon 1.8.2, so line numbers correspond to that version of the sourcecode.) Beginning in line 228 of org.apache.cocoo

Re: Problem with Cocoon

2001-07-18 Thread Per Steffensen
> Dear support team, >after following the specified instructions as per the set up of > cocoon software along with tomcat (apache as server). It does not > work. When I make a request for xml file through IE or Netscape all I > could see is a blank screen that displays " type="text/wml" ". Whe

FP Taglib triple writing ??

2001-07-18 Thread Kevin D'Allaird
Hi folks- I was wondering if anyone has experienced an FP taglib symptom similar to this: I have a file that using XSP takes some form data, does some calculations, and then returns HTML or PDF using the href="stylesheet" type="text/xsl" method of stylesheet selection. That all works fine. The

Re: C1 to C2

2001-07-18 Thread Andre Juffer
Davanum Srinivas wrote: > Andre, > > Can you re-post the complete instructions in the form of a FAQ? I will check it in. Yes, I'll see to it and send something in within the next day or so. Cheers, Andre > > Thanks, > dims > > --- Andre Juffer <[EMAIL PROTECTED]> wrote: > >> Hi All, >>

FOP, optimized PDF

2001-07-18 Thread Darrel Riekhof
We are thinking about using FOP to produce large PDF reports that will be served (possibly through cocoon) to web clients. However, the PDF files that FOP produces are not optimized. So, the reader client will have to download the entire PDF file before viewing the first page. If the PDFs were

Setting content type

2001-07-18 Thread King-Tak CHOW
I've written an XSP so that it will set the HTTP content type header to "text/my-special-xml" by using response.setContentType() method. After the XSP processing, it will use a XSL stylesheet to do the transformation. However, it is found that the content type is changed to "text/xml". It seems th

Problems with line breaks in Cocoon 2

2001-07-18 Thread hansbakk
Hi! I already posted these questions once to [EMAIL PROTECTED], but I have not got any answers yet. Since I am running out of time now, I repost my questions again. I hope somebody can help me. I am using Cocoon 2, and I have the following problems: Question 1: In my xsl-file I have written:

Problems with line breaks in Cocoon 2

2001-07-18 Thread Hege Hansbakk
Hi! I already posted these questions once to [EMAIL PROTECTED], but I have not got any answers yet. Since I am running out of time now, I repost my questions again. I hope somebody can help me. I am using Cocoon 2, and I have the following problems: Question 1: In my xsl-file I have written:

Re: FOP, optimized PDF

2001-07-18 Thread giacomo
On Wed, 18 Jul 2001, Darrel Riekhof wrote: > We are thinking about using FOP to produce large PDF reports that will be > served (possibly through cocoon) to web clients. However, the PDF files > that FOP produces are not optimized. So, the reader client will have to > download the entire PDF fi