From: webappcabaret [EMAIL PROTECTED]
Hi,
I would appreciate if you add WebAppCabaret under the Hosting
section for Cocoon 2.0.2.
The URL us http://www.webappcabaret.com
Done in CVS.
It will be live on the site with the next site update.
--
Nicola Ken Barozzi [EMAIL
I have a XSP page that executes a local process that returns a valid XML
file to standard output. I have a BufferedReader to read from its
output, and that's what i should do:
- Extract the XML tree
- Extract nodes from that tree
- Insert that XML tree into current code position
How can i do
Hi Vadim,
thank you very much ;-)
I extended LogTransformer to get the output I want.
Mhh, I think I am on the way understanding the pattern on how to work
with cocoon ;-))
Thanks, Heike
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23,
Hello!
I have the following setup:
- SuSE 8.0 Base System with the bundled Apache
- Cocoon 2.0.2 Binary installation in /opt/jakarta/webapps/cocoon
The base installation works fine, but I cannot add a directory to put my own
XML/XSL files in. I have added the following to the sample
I think it would make sense to include it in the binaries anyway. other
stuff that also needs extra libraries is there...
-Original Message-
From: Christian Haul [mailto:[EMAIL PROTECTED]]
Sent: terca-feira, 23 de Abril de 2002 10:49
To: [EMAIL PROTECTED]
Subject: Re: sendmail
On
Hi all,
somwhere on the install page
http://xml.apache.org/cocoon/installing/index.html; under the heading
Installing on Tomcat 4.0.3 it says:
...
3.Remove xalan-XXX.jar, xercesImpl-XXX.jar,
batik-libs-XXX.jar, and xml-apis.jar from the cocoon.war archive.
How does that
Hi Cocooners!
Can I use i18n in XSLT transformations? I have
any.xml - XML document
body
my-space:component/ !-- my component with default configuration --
/body
my-space.xsl - logicsheet processing tag for other tags
template match=my-space:component
struct
item1any_link/item1
item2/
On 17.Apr.2002 -- 10:38 AM, Perry Molendijk wrote:
Hello,
When I run the sendmail logicsheet I get a problem with the
transformation of sendmail.xsl.
Somewhere in the process the values of sendmail:subject, sendmail:body
and sendmail:smtphost are not added to the generated java code.
not sure this will help but...
my-space.xsl - logicsheet processing tag for other tags
template match=my-space:component
missing an
here
struct
item1any_link/item1
item2/
/struct
/template
On 18.Apr.2002 -- 10:02 AM, Vadim Gritsenko wrote:
From: Ehms, Jurgen [mailto:[EMAIL PROTECTED]]
Here is the Bugfix to Sendmail.xsl
- long Path to javax.mail.Session on account of ambiguous to
org.apache.cocoon.environment.Session
- changes on Template get-nested-string to prevent
Sorry - of course. But it don't helps. I paste only abbrewiated snippets
into post.
But thank You.
Trouble is located somewhere in component.xslt i think, but i don't
understand why nullpointerexception is throwed...
- Original Message -
From: TREGAN Fabien [EMAIL PROTECTED]
To: [EMAIL
I have two xml files. One is for the menu content, the other is for the body content. I want to read
from these two different files with one xsl file, and serialize html.
The menu file is to be used with each page.
I couldnt solve the problem. Do I need a
special pipeline in the
Arda,
you may use a number of solution:
1) Aggregate (using map:aggregate) those XML fiels and feed them to the
XSLT transformer
2) Use document() function inside the stylesheet
Best regards,
P.S.
Plain rext posting next time, please.
-
Hello,
I've played with sendmail.xsl a bit recently.
I notice that it uses
javax.mail.Session.getDefaultInstance
I had trouble getting this one to change mail hosts via the parameter:
subsequent messages continued to use the host I'd used in the first message
I haven't delved into javax.mail
At 14:15 23/04/2002 +0300, you wrote:
I have two xml files. One is for the menu content, the other is for the
body content. I want to read from these two different files with one xsl
file, and serialize html.
The menu file is to be used with each page.
I couldn t solve the problem. Do I
On Tue, 23 Apr 2002, neil wrote:
Has anyone come up with a reasonably rigorous DTD for the sitemap? I know
its been talked about at various times, but I haven't found one yet.
I've cobbled together the following DTD, which I find handy with emacs xml
(psgml) mode. It handles the cocoon-2.0.2
Have a look at:
xml-cocoon2\src\documentation\xdocs\drafts\sitemap-working-draft.xsd
and
xml-cocoon2\src\documentation\xdocs\dtd\sitemap-v02.dtd
Regards,
Konstantin Piroumian
On Tue, 23 Apr 2002, neil wrote:
Has anyone come up with a reasonably rigorous DTD for the sitemap? I
know
its
You may also use this type if xsl processor can be used on this place
xsl:param name=MenuFile/ at the top. and build the xsl params at run
time using any xsl processor. Inside xsl you can refer with MenuFile/... so
on..
Actually I don't know the exact situation where you are using. But in
Hi all,
I rebuilt cocoon under jdk1.4 and tried to install it under tomcat4.0.3
(both the full and the light edition)
I carefully followed the installation instructions in
http://xml.apache.org/cocoon/installing/index.html; (except for the bit
...3.Remove xalan-XXX.jar, xercesImpl-XXX.jar,
Hi!
Thanks for sending this. I guess that this is Portuguese?
Could you also translate this line: Portuguese translation was made by
your-name / [your-email /] and the country name of Portugal?
Btw, the simple_dict_pt.xml is in the old dictionary format and it's not
supported any more. Why do
Yet another solution to your problem (the one I choosed, don't know if it's
the fastest, but it's re-usable) :
-1 pipe make menu.xml + menu.xsl - xhtml
-2 another pipe make content.xml + menu.xsl - xhtml
-3 another pipe make template.xml + cincludetransformer + html serializer -
html
and, of
Slightly away from what you wanted but still useful-
have a look at the 'Bonebreaker' tutorial at :
http://www.cocooncenter.org/cc/documents/resources/navigation/index.html
It also has an approach for a separate menu and body file
(makes use of the document() function in xsl AFAIK)
Derek
Thank you both, I am giving more detail:
I would like to see your approach, I tried to use the param but I was
unsuccessful. I used the cocooncenter.org navigation menu example as a
pointer.
I can pass the parameter contaning the menufile name to the xsl file
(the parameter is defined on the
Hi,
I use the LDAP-Transformer. It's works fine. But I have a Problem with
special german characters. I must use the character set ISO-8859-1.
The Problem occurs only on LDAP-Transformer-Datas. On the normal conversion
from xml to html using xslt occurs no Problems with special german
Hello,
Do you specify request parameter locale with value for which
messages_lng.xml exists?
Roman
Jerzy Kut wrote:
Sorry - of course. But it don't helps. I paste only abbrewiated snippets
into post.
But thank You.
Trouble is located somewhere in component.xslt i think, but i don't
but I can't call the content from the menu.xml file using document()
function.
the document() function can be used in an xpath inside the xslt :
template match=document(foo.xml)/root
fabien.
-
Please check that your question
No. I have messages.xml only. If i think properly when i have no specialized
message_locale.xml file general message.xml will be used - am i right? So i
needn't specify locale request parameter...?
When i try to use i18n tags in my any.xml all works good.
But i want to avoid this and try to use
No. I have messages.xml only. If i think properly when i have no
specialized
message_locale.xml file general message.xml will be used - am i right? So
i
needn't specify locale request parameter...?
Yes, exactly like that!
When i try to use i18n tags in my any.xml all works good.
But i want
I think there were some posts for it before.
And I hope I'm right ;)
The problem is Java 1.4. It has older versions of the xml libs.
So, create a dir in jre/lib/ext of your java installation named
endorsed. There you should put the removed jars in order to replace
the Java 1.4 xml libs.
Hi Gregor,
I use the same components like you, and it works fine for me. The
modification of the war file seems to be nessesary. You can use zip or
jar to extract the war file, remove the xalan, xerxes and batik jar
files, and produce a war file again.
if you don't know to handle jar (the
[EMAIL PROTECTED] wrote:
Hi,
I use the LDAP-Transformer. It's works fine. But I have a Problem with
special german characters. I must use the character set ISO-8859-1.
The Problem occurs only on LDAP-Transformer-Datas. On the normal conversion
from xml to html using xslt occurs no Problems
From: Andreas Buschka (tops.net) [mailto:[EMAIL PROTECTED]]
Hello!
I have the following setup:
- SuSE 8.0 Base System with the bundled Apache
- Cocoon 2.0.2 Binary installation in /opt/jakarta/webapps/cocoon
The base installation works fine, but I cannot add a directory to put
my
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gregor Neu
E1
Hi all,
somwhere on the install page
http://xml.apache.org/cocoon/installing/index.html; under the heading
Installing on Tomcat 4.0.3 it says:
...
3.Remove xalan-XXX.jar,
From: Christian Haul [mailto:[EMAIL PROTECTED]]
On 18.Apr.2002 -- 10:02 AM, Vadim Gritsenko wrote:
From: Ehms, Jurgen [mailto:[EMAIL PROTECTED]]
Here is the Bugfix to Sendmail.xsl
- long Path to javax.mail.Session on account of ambiguous to
I am a newbie and didn't know how to handle war-files (until somebody
told that they work like jars...)
Gregor
-
Please check that your question has not already been answered in the
FAQ before posting.
I am having problems connecting to a database from Cocoon
(mySQL). I have added all the usual entries in cocoon.xconf
(and have used other databases in a similar way - so its not
the driver..) The same setup works fine on the test machine.
The root.log reports the following problem (as the
Hi, I have Cocoon 1.8.2 with its source code but I cannot find the
SendMailTransformer source, what could be happening??
- Original Message -
From: Liam Morley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 5:52 PM
Subject: Re: sendmail
Take a look at the
My stylesheet:
component.xsl:
?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:i18n=http://apache.org/cocoon/i18n/2.0;
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:template match=test-navi
xsl:param name=action select=action/
TABLE
FORM
[EMAIL PROTECTED] wrote:
Hello,
I have still Problems with the special german characters and the
LDAP-Transformer.
When I write
map:serializer name=html mime-type=text/html src
=org.apache.cocoon.serialization.HTMLSerializer
doctype-public-//W3C//DTD HTML 4.01
See Andreas Hartman's excellent article
http://www.cocooncenter.de/cc/documents/resources/request-params/index.html
Sreedhar
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of LEBRETON Philippe
Sent: Tuesday, April 23, 2002 11:36 AM
To: Cocoon User
Hi,
Two questions,
1. I would like to use i18n transformation within proprietary
Java API with cocoon framework on top. How could I do that?
If any have a code example for it?
2. When creating session if client disabled cookies how to
enable URL session tracking? Just need a hint.
Thanks,
Hi,
Two questions,
1. I would like to use i18n transformation within proprietary
Java API with cocoon framework on top. How could I do that?
If any have a code example for it?
Have seen org.apache.cocoon.transformation.I18nTransformer? Is it what you
are looking for or you need something
- Original Message -
From: Konstantin Piroumian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 12:32 PM
Subject: Re: i18n in api session cookie
Hi,
Two questions,
1. I would like to use i18n transformation within proprietary
Java API with cocoon
From: Jerzy Kut [mailto:[EMAIL PROTECTED]]
Sorry - of course. But it don't helps. I paste only
abbrewiated snippets
into post.
But thank You.
Trouble is located somewhere in component.xslt i think, but i don't
understand why nullpointerexception is throwed...
The stylesheet itself
From: Stephen Ng [mailto:[EMAIL PROTECTED]]
The xslt transformer doesn't know if a file that is being imported has
changed and needs to be reloaded instead of using the cached version.
I.e.:
map:transform src=foo.xslt/
If foo.xslt xsl:import's bar.xslt, Cocoon doesn't check to see
Dear colleagues,
I want to use xsp to retrieve data from the session. The only problem is,
that I cannot put list content out to the xsp page.
If I want to write out a list of names which are stored in a vector, how can
I produce an xsp-page like this:
...
nameVolker/name
namePeter/name
Hi Volker,
I'm sure there are better tutorials, but this article comparing JSP and XSP
actually has a decent table of XSP tags on page 3.
http://www.onjava.com/pub/a/onjava/2001/02/22/jsp_servlets.html
Also, with regards to your question, there's an example on page 2 of this
article that
Look at xsp.xsl in org/apache/cocoon/components/language/xsp/java for
list of all xsp tags.
To solve your problem:
xsp:logic
for( Iterator iter = v.iterator; iter.hasNext();) {
namexsp:expr(String)iter.next()/xsp:expr/name
}
/xsp:logic
You can also use xsp:element if you don't know what
Hi Harry,
thank you, this helps. But there is another question coming up, maybe you
know the answer as well:
How can I access the session or request object whithin the xsp logic
sheet(xsp:logic). Inside the xsp:expr I can access it using the
session-namespace. But inside the logic sheet I have
Hi Volker,
In an XSP doc (or logicsheet), there are a set of built-in variables that
you can use to access servlet objects (taken from the comments in the java
file derived from an XSP doc):
/* Built-in parameters available for use */
// context- ServletContext
// request-
Title: Message
Hi!
Thanks for sending this. I guess that this is
Portuguese?
Could you also translate this line: "Portuguese translation was made by
your-name / [your-email /]" and
the name of Portugal?
Btw,
the simple_dict_pt.xml is in the old dictionary format and it's not supported
Title: Message
Use
aggregation. Add something like this to a matcher:
...
map:aggregate element="site"
map:part
src="cocoon:/menu/main.xml"/ map:part src="cocoon:/content/{1}.xml" label="content"//map:aggregatemap:transform src="site2html.xsl"/map:serialize/
...
You should define also
Title: Does stylesheet can take/keep sessionid from outside?
Hi,
I've a question here. Please help.
Does stylesheet can take/keep session id from outside??
Thanks.
--Zoe
CONFIDENTIALITY NOTICE: The information in this e-mail is privileged and confidential. Any use, copying or
On 23.Apr.2002 -- 08:50 PM, Volker Schneider wrote:
Hi Harry,
thank you, this helps. But there is another question coming up, maybe you
know the answer as well:
How can I access the session or request object whithin the xsp logic
sheet(xsp:logic). Inside the xsp:expr I can access it
Sorry; you are right, it works fine, this looks like a bug in my
stylesheet somewhere.
Thanks,
Steve
-Original Message-
From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 12:04 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: How to pass
Title: RE: sendmail
Hi Everybody,
Could anybody send me the updated files for sending the mail from cocoon. I am not able to get it from the cvs since my proxy settings do not allow http tunnelling. If you have the complete example, that would be wonderful ( from sending an email using
Hi Harry,
thank you for your reply. It tried the request variable. I tried to get
the session from the request but it didn't work.
?xml version=1.0?
xsp:page xmlns:xsp=http://apache.org/xsp;
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
create-session=true
cocoon
/project
browse.xsp
browse-test.xsl
sitemap
map:match pattern=browse.xsp
map:generate src=browse.xsp/
map:serialize/
/map:match
browse.xsp generates the following xml file
?xml version=1.0 encoding=UTF-8?
page xmlns:xsp=http://apache.org/xsp;
Hello everyone,
Before I go delving into everything, I wanted to ask if people were
successful with using the HSSF Serializer. Currently it generates XLS
files that crash Excel.
I am using the latest (as in tonight) nightly build of Cocoon, Resin
2.0.2 and JDK 1.4 on Linux 2.4.17. The
From: Volker Schneider [mailto:[EMAIL PROTECTED]]
Hi Harry,
thank you for your reply. It tried the request variable. I tried to
get
the session from the request but it didn't work.
?xml version=1.0?
xsp:page xmlns:xsp=http://apache.org/xsp;
HY!
Iwould liketo execute a
very simple XSP sample. Here is my sitemap:
map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"
map:components map:generators
default="file" map:generator name="file"
src="org.apache.cocoon.generation.FileGenerator"/
map:generator name="serverpages"
From: Kenny Chow [mailto:[EMAIL PROTECTED]]
cocoon
/project
browse.xsp
browse-test.xsl
sitemap
map:match pattern=browse.xsp
map:generate src=browse.xsp/
map:serialize/
/map:match
browse.xsp generates the following xml file
?xml version=1.0 encoding=UTF-8?
page
I got it working! Thanks for your help - was a struggle but got
there...more fun to be had! Glad to be apart of the group...
Zachary A
I working with on a simple database query with cocoon 2. I've done
this with the older cocoon, but here I'm having a processing problem
of some sort with the taglib.
The connection pool is fine, that's working, however something goes
wrong with the esql. It just sents the client back the xml
Hi All,
I am new to coccon. I have the following question.
Is it possible to use custom tags ( user defined tags) intermixed with the
tags provided by cocoon framework ? If so could you please point me to some
documentation on how to do that ?
I would greatly appreciate if you
I am trying to use the HTMLGenerator and the optional xpath parameter,
similar to how the Yahoo screenscrape example works. However, the XPath
expression I need is determined by a URL parameter, below is the map:match
section I am using:
map:match pattern=content.xml
map:act type=request
Sorry for not mentioning..
Yes, this is portuguese, but I don't want to mislead anybody, because I am not.
The translation was provided by my wife who speaks native Portuguese.
Send me your (latest) version of simple_dict.xml unless it's in cvs and I fill in the
blanks.
As far as providing
I'm on RHL 7.2, kernel 2.4.17/2.4.9-RH, JDK 1.3.1, Tomcat 4.0.1/4.0.4b2,
Have Gnumeric 1.0.4. Do the samples not work? Can you open a bug and
attach defective sheets and/or the xml/xsl you're using to generate it.
Are any exceptions thrown? Version of Excel? (97+ is required)
-Andy
On Tue,
Dear Cocoon User Group:
Is anyone sucessfully using the Xsl tag
attribute-set with Cocoon 2.0.2 sucessfully.
I always get a null pointer expection even
when I just boil it down to the one line:
xsl:attribute-set name=foo/
Hmm: pretty hard to wrong here, but maybe.
Steve
Just finished upgrading from 2.0.1 - 2.0.2 with
Tomcat 4.0.4 b2 on win2k and my old code doesn't seem to be found by
Cocoon.
I keep on getting:
WARN (2002-04-24)
01:45.44:507 [sitemap.generator.serverpages](/cocoon/dealtime)
HttpProcessor[8080][2]/ServerPagesGenerator: Failed to load
I tried using Tomcat 4.0.4 b2 with Cocoon 2.0.2 as was suggested and got it working
for a brief moment. But then I tried removing the cocoon webapp and re-deploying it,
and now I'm getting the same errors as before with Tomcat 4.0.3. I've even tried
reinstalling Tomcat 4.0.4 and Cocoon 2.0.2
Got it. Very appreciate it Vadim.
--- Vadim Gritsenko [EMAIL PROTECTED]
wrote:
From: Kenny Chow [mailto:[EMAIL PROTECTED]]
cocoon
/project
browse.xsp
browse-test.xsl
sitemap
map:match pattern=browse.xsp
map:generate src=browse.xsp/
map:serialize/
Title: Pure txt as ouput
Hi all.
I'm a newbie in these technologies, and I've got a problem that I don't know how to resolve. May be be someone can help me.
I am using cocoon1, xml, xsl...
I want to get a pure txt as output file, obviosly whithout a hedar, and also with no xml tags.
I'm
73 matches
Mail list logo