tag inside xsl:attribute's value

2003-03-12 Thread Robert Sösemann
in advance. Rob ROBERT SÖSEMANN ([EMAIL PROTECTED]) schwärzlocherstr. 29/1 | 72070 tübingen tel : 07071 / 400 880 icq# : 100 467 870 pgp-keys : www.webspace-journey.de/pgp.asc

Re: tag inside xsl:attribute's value

2003-03-12 Thread Robert Sösemann
a better solution. Otherwise thanks for your help, anyway. Rob - Original Message - From: Joerg Heinicke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 7:20 PM Subject: Re: tag inside xsl:attribute's value Hi Robert, Robert Sösemann wrote: I have an applet which

Generate XSL with XSP?

2003-03-03 Thread Robert Sösemann
For a context-sensitve basepath setting I want to do this. 1) Add dynamically generated xsl into each (sub-)sitemap: -- map:match pattern=include-basepath.xsl map:generate src=logicsheets/dynamic-basepath.xsp

Re: Generate XSL with XSP?

2003-03-03 Thread Robert Sösemann
never generate the desired XSL. The output of my XSP was just an emtpty ?xml ... Tag. No other elements were created. I guess it a namespace problem. What do you think? Robert - Original Message - From: Upayavira [EMAIL PROTECTED] To: Robert Sösemann [EMAIL PROTECTED]; [EMAIL PROTECTED

Jtidy with properties

2003-02-23 Thread Robert Sösemann
Hello, I want to use Jtidy for beatifying the serializers html. I think coocoons htmlserializer uses it by default. But it doenst do identation. So i need a properites file. Where should I place this file? Do I need to add code to the sitemap or xconf? Maybe you can give me example code.

Re: CLI

2003-02-17 Thread Robert Sösemann
The CLI is part of the cocoon.jar, so is contained in your cocoon version. You call it by: BUT, it doesn't work. Noone who ever asked this list for help on the cli received a helpful answer. The reason to my opinion is not a lack of cooperation, but the lack of experience with the cli and the

Re: XMLForm Wizard alternative?

2003-02-14 Thread Robert Sösemann
to cocoon-users To: [EMAIL PROTECTED] cc: Subject:Re: XMLForm Wizard alternative? From: Robert Sösemann [EMAIL PROTECTED] Hy, in our project (CMS) we want to easily generate input fields in a wizard-like interface. It is later used by authors to put different

context not found by CLI

2003-02-11 Thread Robert Sösemann
Hallo listmembers, I am using the Cocoon command line to generate static pages from my site. I was not successful with that, because every time an action which uses the ObjectModelHelper.getContext( method throws an Exception. (see below) This ONLY happens during the uses of the CLI, not when I

Re: status quo: cocoon with xsltc

2003-02-07 Thread Robert Sösemann
you anything more to go on. If you're not experiencing a performance increase with Saxon, maybe you'll be better off going back to plain old Xalan. Brian On Wednesday, February 5, 2003, at 04:12 PM, Robert Sösemann wrote: Thats the content of include-basepath.xsl My problems right now happen

Re: status quo: cocoon with xsltc

2003-02-05 Thread Robert Sösemann
I am using cocoon 2.0.3. And I added xsltc without removing xalan as default. But after that nothing worked. Every request produced an emtpy page. (no errors logged). Even after using the old sitmap it didn't work anymore. Right now im trying to install saxon 6. Does anybody have data on how much

Re: status quo: cocoon with xsltc

2003-02-05 Thread Robert Sösemann
Would you mind send me the snippets from cocoon.xconf and sitemap to add saxon? Thanks ind advance. Rob - Original Message - From: Beat De Martin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 1:14 PM Subject: Re: status quo: cocoon with xsltc I'm using

Re: status quo: cocoon with xsltc

2003-02-05 Thread Robert Sösemann
No I am using 6.5.2. The problem is that when it comes to resolving a cinclude I get this message: STACKTRACE= org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Exception during processing of cocoon://item_50-view_ABSTRACT:

Re: status quo: cocoon with xsltc

2003-02-05 Thread Robert Sösemann
PROTECTED] Sent: Wednesday, February 05, 2003 4:25 PM Subject: Re: status quo: cocoon with xsltc It looks like there might be a problem with your stylesheet. Can you post a copy? Thanks. Brian On Wednesday, February 5, 2003, at 10:20 AM, Robert Sösemann wrote: No I am using 6.5.2. The problem

Re: status quo: cocoon with xsltc

2003-02-05 Thread Robert Sösemann
affect Saxon. Brian On Wednesday, February 5, 2003, at 10:29 AM, Robert Sösemann wrote: Thanks for answering that quick. here are snippets sitemap:cinclude map:match pattern=**item_*-view_* !-- Rohdaten holen -- map:generate

mapping to basepath in static content

2003-01-31 Thread Robert Sösemann
Hello, what I need is a centralized mechanism to change the paths in all my site-elements. (that means: Later when I switsch from development to production I just want to change pathname at one single point, not every single href, src ...) Inside elements handled by cocoon (XSP, Generators,

Re: set transformer source from generator

2003-01-27 Thread Robert Sösemann
: Monday, January 27, 2003 9:54 AM Subject: Re: set transformer source from generator Robert Sösemann wrote: Dear listmembers, maybe its answer is easy but I couldn't find an answer in the archieves. I need to dynamically set the transformer source based on a parameter set inside

set transformer source from generator

2003-01-26 Thread Robert Sösemann
Dear listmembers, maybe its answer is easy but I couldn't find an answer in the archieves. I need to dynamically set the transformer source based on a parameter set inside the Generator. Thats what my matcher should look like: map:match=articleid_*

custom errorpage on static site

2003-01-16 Thread Robert Sösemann
Hello, my question is, if there is a way to design and embedd a custom errorpage into a cocoon site, EVEN if I later make the site static with the command line interface. Right now I use the sitemap tag handle-errors to achieve that. Any ideas? Rob

1001 question aboit Command Line Interface

2003-01-15 Thread Robert Sösemann
Hello, althoug many people have asked question about the cli, I couln't find an answer to mine. I want to call the cli. But before I have to add ALL the lib in WEB-INF to my class path. Because it is a really long classpath I mad a .bat. Running it I get an error that the line is too long. I

Re: 1001 question aboit Command Line Interface

2003-01-15 Thread Robert Sösemann
aboit Command Line Interface Robert Sösemann wrote: . . . Because it is a really long classpath I mad a .bat. Running it I get an error that the line is too long. If it is really a line too long problem and not and out of environment space problem, you might want to try to setup

Re: 1001 question aboit Command Line Interface

2003-01-15 Thread Robert Sösemann
java.lang.NoClassDefFoundError: org/apache/cocoon/Main - Original Message - From: Bertrand Delacretaz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 4:27 PM Subject: Re: 1001 question aboit Command Line Interface Robert Sösemann wrote: I tried this, but - for which reason ever - only

Re: 1001 question aboit Command Line Interface

2003-01-15 Thread Robert Sösemann
that comes with Ant. -Original Message- From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]] Sent: 15 January, 2003 13:57 To: [EMAIL PROTECTED] Subject: Re: 1001 question aboit Command Line Interface Robert Sösemann wrote: . . . Because it is a really long classpath I mad a .bat

generate correct SAX in custom generator

2003-01-10 Thread Robert Sösemann
Dear listmembers, I read about problem reading in XML fragment from db Clobs in cutom generators in the mailing list. I also read about using this InputXMLConsumer. But I never found an example that I could modify form my problem. I found none. Maybe someone could just send me a snippet of java

bring xml from DB2 to cocoon

2003-01-09 Thread Robert Sösemann
Hello, in one of my custom generators I have to query a db attribute wich contains an xml-fragment. I do this by my addXML() method. An although it seems to produce the correct sax events, my transformers NEVER do apply anything to the resulting xml. Two possibilities: - it is wrong to use CLOB

confusing SQL Error

2003-01-06 Thread Robert Sösemann
Dear listmembers, I have switched a running Cocoon sytem from the use of a MYSQL db to IBMs DB2 7.2 Since that one many of my xsps generate the following error message: org.apache.cocoon.ProcessingException: Exception in

Re: DB2 with Cocoon

2003-01-05 Thread Robert Sösemann
). Regards, Nils -Ursprüngliche Nachricht- Von: Robert Sösemann [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 4. Januar 2003 00:12 An: [EMAIL PROTECTED] Betreff: DB2 with Cocoon Hello, this is my first time connecting IBMs DB2 with cocoon. Cocoon succesfully finds the drivers and connects

Re: DB2 with Cocoon

2003-01-04 Thread Robert Sösemann
, then it should match. --Michael -Ursprüngliche Nachricht- Von: Robert Sösemann [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 4. Januar 2003 00:12 An: [EMAIL PROTECTED] Betreff: DB2 with Cocoon Hello, this is my first time connecting IBMs DB2 with cocoon. Cocoon succesfully finds

map:handle-errors doesn't work

2003-01-04 Thread Robert Sösemann
Hello, for error handling in my esql xsps I want to use map:handle-errors to show a user-friendly error page. But the error messge generated in the error:message tag in my xsp does not affect the map:handle-errors in the sitemap. This is what i have: - end of sitemap with

Re: DB2 with Cocoon

2003-01-04 Thread Robert Sösemann
-Strasse 4, 97297 Waldbuettelbrunn, Germany // Phone +49 931 45335 0 - FAX +49 931 45335 99 // http://www.bwc.de // Amtsgericht Wuerzburg HRA 4937 // // one bit ahead ... since 1993 -Ursprüngliche Nachricht- Von: Robert Sösemann [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 4. Januar 2003

xsp-response confusion

2003-01-03 Thread Robert Sösemann
Why is the xsp-response:send-redirect not work in the following xsp snippet? ...xmlns:xsp-response=http://apache.org/xsp/response/2.0;. esql:no-results xsp-response:send-redirect url=generic-error/ /esql:no-results esql:error-results

DB2 with Cocoon

2003-01-03 Thread Robert Sösemann
Hello, this is my first time connecting IBMs DB2 with cocoon. Cocoon succesfully finds the drivers and connects correctly. But I get strange SQL Errors like: COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0104N Auf SELECT 1 folgte das unerwartete Token END-OF-STATEMENT. Zu den

generic error-page

2003-01-02 Thread Robert Sösemann
Hy, for my cocoon site I would like to have an unified error handling. This means I want to have a generic error page (with the possibility to contact the admin, same look and feel like the rest of the site). This site would be called everytime my site generates an error inside esql tags. ...

Re: generic error-page

2003-01-02 Thread Robert Sösemann
=transform/style-errorpage.xsl/ map:serialize status-code=500/ /map:match - Original Message - From: Robert Sösemann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 6:05 PM Subject: generic error-page Hy, for my cocoon site I would like to have

XMLForm Wizard alternative?

2002-12-18 Thread Robert Sösemann
Hy, in our project (CMS) we want to easily generate input fields in a wizard-like interface. It is later used by authors to put different types of articles into a database. As different types of articles have other information needs, we want to provide the user with form field that represent

XSP/ESQL - separation of concerns?

2002-12-18 Thread Robert Sösemann
Hello, in my current project I am using xsp and esql logicsheet for db retrivieval and tag generation only. Although I know that this is good for developing (no extra compilation) I am not very happy with it. What I don't like is: --- - many SQL statement (complex tag structure)

Cocoon Freelancers around Stuttgart wanted

2002-12-16 Thread Robert Sösemann
in advance, Robert Sösemann - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Fw: automati xmlform

2002-12-13 Thread Robert Sösemann
- Original Message - From: Robert Sösemann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 12, 2002 9:25 PM Subject: automati xmlform Hello, I am working on an cms input wizard to fill a database. Is it possible with cocoons xmlform validation to generate its

eliminate duplicate data in beans

2002-12-12 Thread Robert Sösemann
Hello, I have the feeling, that what I am doing can be done more elegant without hardcoding db schema information into a java bean. I am using java beans to transport data through the different steps of a CMS (inside a session). Users are a adding data in every step to a bean representing a db

automati xmlform

2002-12-12 Thread Robert Sösemann
Hello, I am working on an cms input wizard to fill a database. Is it possible with cocoons xmlform validation to generate its schema rules automatically? I could imagine, an action to query the db's sytem tables to get knowledge about the types and other contraints and generate an xmlform to

ignore NULL values in XSP

2002-12-09 Thread Robert Sösemann
Hello, can you imagine a shorter and more elegant way to ignore null values from adb? What I mean is, that I only want to create an LINKID element when the database not returns a null or nothing xsp:attribute name=LINKIDesql:get-string column=g.unterrubriklink_id//xsp:attribute As I have many

dynamic xsl:fo image inclusion

2002-12-03 Thread Robert Sösemann
I tried every tip I could find on the web, but I never had success including an jpg into an pdf with cocoon. Maybe sombody can help? Thats what I have: XSL:FO fragment transforming IMG tags: xsl:template match=IMG fo:inline fo:external-graphic src=url(MYPATHBASE/{$src})/

dynamic atylesheet assignment

2002-12-03 Thread Robert Sösemann
I am working on a news site, where every author can assign own xsl stylesheet to their article. I want to bring cocoon dynamically insert an article's path into the transformer src attribute. I thought of generating an parameter inside the xsp for the following components an later catch it by the

Re: dynamic xsl:fo image inclusion

2002-12-03 Thread Robert Sösemann
inclusion Hi robert, I solved this problem this afternoon :-) there were no error message in the logs, and the cause was a too large image. try with a small jpg. Regards, Ludovic - Original Message - From: Robert Sösemann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday

parameters in xsp

2002-11-27 Thread Robert Sösemann
I must create an dynamic variable based (from db content) cinclude path. But this doens't work. Do you know why? ... esql:results esql:row-results xsl:variable name=idesql:get-string column=i.id//xsl:variable xsl:variable name=stylesheet-pathesql:get-string

parameters in xsp don't work

2002-11-26 Thread Robert Sösemann
I must create an dynamic variable based (from db content) cinclude path. But this doens't work. Do you know why? ... esql:results esql:row-results xsl:variable name=idesql:get-string column=i.id//xsl:variable xsl:variable name=stylesheet-pathesql:get-string

Concat dynamically assigned xslt

2002-11-25 Thread Robert Sösemann
I am not sure if this is a cocoon specific problem or solveable with XSL only. I have this problem. I am working on a CMS where non-programmers can feed articles to a db. Cocoon output those articles in different ways. The problematic view is the multi-article page. There abstracts of many

Communication between Sitmap and Action

2002-11-23 Thread Robert Sösemann
I have this matcher with an action which passes 2 parameters to the included generator. Also the generator must use the two parameters that are given to him. # SITEMAP ### ... map:match pattern=**item_*.html map:act type=url-extract

total action confusion

2002-11-22 Thread Robert Sösemann
Does anybody have good and detailed examples about how to use actions for those newbies, that used xsp before. What i don't know is: where to place my java code that cocoon finds and compiles it. how to use sitemap parameters inside the action where to place paramters - inside generate or act

Re: correct use of umlauts

2002-11-17 Thread Robert Sösemann
; and ..; (which one was the 5th) are known? Why do you have Ouml; in your database? This would be really bad: a database should store a character in it, not an entity, which will be later interpreted as a character. Joerg Robert Sösemann wrote: Hello, who can help, I have

correct use of umlauts

2002-11-16 Thread Robert Sösemann
Hello, who can help, I have the following code fragment in my xsp page, but I always get an error because of the use of german umlaut entities like Ouml;. xsp:logic String keyword = esql:get-string column=k.word/;

Re: Dynamically add transformer to sitemap

2002-10-31 Thread Robert Sösemann
it to the sitemap. I can't think of other ways, especially xsl:include/ is evaluated on compile time, not run time like variables. Regards, Joerg Robert Sösemann wrote: Question: --- Is it possible to dynamically add a certain transformer to the sitemap pipeline later dependant

Dynamically add transformer to sitemap

2002-10-30 Thread Robert Sösemann
Question: --- Is it possible to dynamically add a certain transformer to the sitemap pipeline later dependant on generated xml content? Background: - My cocoon app generates website from content in a Mysql DB. In my sitemaps pipeline there is an xsp generator which gets the DB