Re: [NOT SOLVED] [SOLVED] cforms + binding to array

2004-11-21 Thread Joose Vettenranta
Aaand answering to myself again.. I think it did work, but my test class was broken.. =) - Joose 20.11.2004 kello 15:26, Joose Vettenranta kirjoitti: Hi, well, I got it to READ values, but I can't make it to SAVE those values.. Anyideas how to accomplish that? If I make class=java.lang.String

Re: question on xsl

2004-11-21 Thread Upayavira
Ralph Goers wrote: Andres Taborda wrote: hello list, excuse me by the following question progamming in any language a value auto-increment is for ($i=1;$i6;$i++) $i+=1; in xsl how can make the auto-increment. I have the follow code, not make sum and auto-increment !--value initial -- xsl:variable

Cocoon 2.1.6 and Java 1.5.0

2004-11-21 Thread Christian Rosenberger
Hi, is the new Cocoon version 2.1.6 compatible to Java SDK 1.5.0? At my debian server the build process failed: #:/opt/cocoon-2.1.6# export JAVA_HOME=/usr/java/1.5.0/ #:/opt/cocoon-2.1.6# ./build.sh Buildfile: build.xml init-tasks: Compiling 5 source files to /opt/cocoon-2.1.6/tools/anttasks

Re: Cocoon 2.1.6 and Java 1.5.0

2004-11-21 Thread Antonio Gallardo
The offending code is in tools/target/init-build.xml: cca. line 144: !-- compile the ant tasks -- mkdir dir=${tools.tasks.dest}/ javac srcdir=${tools.tasks.src} destdir=${tools.tasks.dest} debug=off optimize=on deprecation=on

newbie question: xsl tokenizer

2004-11-21 Thread fabrizio picca
is there a way to get something similar the java string tokenizer in xsl processing? -- copyright - fabpicca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: newbie question: xsl tokenizer

2004-11-21 Thread J.Pietschmann
Colin Paul Adams wrote: fabrizio == fabrizio picca [EMAIL PROTECTED] writes: fabrizio is there a way to get something similar the java string fabrizio tokenizer in xsl processing? XPath 2.0 tokenize() function. Available if you use Saxon 8 as your XSLT transformer. The EXSLT tokenize()

Re: newbie question: xsl tokenizer

2004-11-21 Thread fabrizio picca
i've noticed that googling around...now i'm trying something like this: in the declaration space i've added xmlns:str=http://xslt.org/strings; extension-element-prefixes=str in my code i've something like this: xsl:text@xsl:value-of select=str:tokenize(string($uri),'/')//xsl:text where $uri is a

Re: newbie question: xsl tokenizer

2004-11-21 Thread J.Pietschmann
fabrizio picca wrote: i've noticed that googling around...now i'm trying something like this: in the declaration space i've added xmlns:str=http://xslt.org/strings; extension-element-prefixes=str This ought to be exslt.org, see http://www.exslt.org/str/index.html You

RE: newbie question: xsl tokenizer

2004-11-21 Thread Conal Tuohy
-Original Message- From: fabrizio picca Sent: Monday, 22 November 2004 7:53 a.m. Subject: newbie question: xsl tokenizer is there a way to get something similar the java string tokenizer in xsl processing? You can also do this kind of thing in pure XSLT using recursive

JXTemplate test condition

2004-11-21 Thread pguillard
Hi, Basic question but i can't find the answer: how to write a more complex test condition in JXT exprerssion jx:choose jx:when test=${value1=='1'} and ${value2=='2'} or jx:when test=${value1=='1'} amp;amp; ${value2=='2'} or jx:when test=${value1=='1'

[SOLVED] Re: Extension functions in XSL (Saxon)

2004-11-21 Thread Derek Hohls
Thanks Norman; For Xalan (Cocoon) I have used xmlns:java=http://xml.apache.org/xalan/java; exclude-result-prefixes=java in my root stylesheet element, and then select=java:java.lang.Math.max($num1,$num2) This seems to work fine. I am not sure about a more generic solution? Derek

Re: [OT] User Preferences and Webapp Configs

2004-11-21 Thread Derek Hohls
Julian I was assuming your users *were* likely to be making changes at runtime. Or do you see this as a once-off process, completed before the app is even launched? AFAICS, Cocoon in general seems pretty scalable - see previous threads for more details - my experience is that the limiting

Re: JXTemplate test condition

2004-11-21 Thread Upayavira
pguillard wrote: Hi, Basic question but i can't find the answer: how to write a more complex test condition in JXT exprerssion jx:choose jx:when test=${value1=='1'} and ${value2=='2'} or jx:when test=${value1=='1'} amp;amp; ${value2=='2'} or jx:when

Re: JXTemplate test condition

2004-11-21 Thread pguillard
Right. Thanks a lot, thanks for the photo album too ! Upayavira wrote: pguillard wrote: Hi, Basic question but i can't find the answer: how to write a more complex test condition in JXT exprerssion jx:choose jx:when test=${value1=='1'} and ${value2=='2'} or jx:when