Fra: Alex Kachanov [mailto:[EMAIL PROTECTED]]
Looks impressive
How many hits you have?
How high is the load?
How powerful is the machine?
They get maybe 400-500 sessions a day, with approx 10-30 pageviews per
session.
It's not that many visitors, it's a fairly narrow business field,
We
I have a medium-sized webapp, with
the compiled jar coming in at 155KB (not to mention XML/XSL. Running Apache,
Tomcat4, mod_webapp, and Cocoon2rc2 on a Compaq Alpha
with 128MB of RAM, we encountered an OutOfMemoryError
on first loading our page (It was under development on a
Athlon
I'm sorry about that David, I did indeed miss your previous answer. Yes, I
was referring to the 5 messages upon cocoon startup. I'll have a look at the
new build.xml. Thanks.
-Vincent
- Original Message -
From: David Crossley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Vincent Massol
++I have a medium-sized webapp, with the compiled jar coming in at 155KB
++(not to mention XML/XSL. Running Apache, Tomcat4, mod_webapp, and Cocoon2rc2
++on a Compaq Alpha with 128MB of RAM, we encountered an OutOfMemoryError on first
++loading our page (It was under development on a Athlon
When I have the following files structure everything works fine:
index.xml
news.xml
products.xml
but when I move files to subfolders like:
/index.xml
/products/index.xml
/news/index.xml
those files stop working:
Looks like I have problems with paths.
But why?
with best wishes
Alexander
Alex,
What map:matches do you have in your sitemap to cope with this?
Regards
Jeremy
Alex Kachanov [EMAIL PROTECTED] wrote:
When I have the following files structure everything works fine:index.xmlnews.xmlproducts.xmlbut when I move files to subfolders
map:match
pattern="" map:redirect-to
uri="index.xml"/ /map:match
map:match
pattern="*.xml" map:generate
src="{1}.xml"/
map:transform
src="stylesheets/2html.xsl"/map:serialize
type="html"/
/map:match
this
is the sitemap.xmap in the root folder of the web-site
with best
David,
I understood that you put a CatalogManager.properties file in the classpath.
However that was not really my question ... :)
Here is my situation :
- I'm using cocoon2 simply to generate HTML and PDF from XML as part of my
project Ant build process and I have to say that I don't know at
already spent the whole day looking at those examples
still stuck
with best wishes
Alexander Kachanov
-Original Message-
From: Liam Morley [mailto:[EMAIL PROTECTED]]
Sent: 20 ?? 2001 ?. 21:52
To: [EMAIL PROTECTED]
Subject: RE: [c2] Lost in sub-folders
I think what you want is
Hi to all!
I 'm working with FO at the moment and can't solve the following problem
so far:
I generate tables that have different count of columns. The count is
being calculated in my XSP.
PROBLEM:
How can I forward this count of columns to my XSL that makes a FO
document? If I have for example
Hi!
I am new to cocoon and xsp and logicsheets. I want to use a mail logicsheet
in order to display mails on a browser. I don't know exactly how to use this
logicsheet and how to handle the parameters.
I will attach the logicsheet and my xsp-file to show what I mean
exactly.Maybe I my xsp-file is
Hi Alex
Try
map:match pattern="index.html" map:generate type="file" src="index.xml"/ map:transform type="xslt" src="stylesheets/2html.xsl"/ map:serialize/ /map:match
map:match pattern="**/index.html" map:generate type="file" src="{1}/index.xml"/ map:transform type="xslt"
Does C2 Support transactions ?
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Gustavo Fernandes wrote:
Does C2 Support transactions ?
by default--yes!
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To
hello cocooners,
what i have:
in DB have soething like this:
here goes link a href=blablalink 2 blabla/a
what i wont:
to get this anhor as tag not as
here goes link lt;a href=blablagt;link 2 blablalt;/agt;
this what i get when using
Well I'm assuming that this will work, since it explicitly covers all the bases.
Start with this and then scale back, removing what you don't need.
map:match pattern=
map:redirect-to uri=index.xml/
/map:match
map:match pattern=*.xml
map:generate src={1}.xml/
Generally the way I do logicsheets and XSP is as follows:
* start with a regular XML document
* run a logicsheet against it, to add logic for certain tags in the XML. Result is an
XSP page. This is done at compile time, outside of Cocoon (i.e., using Ant and Xalan).
* The XSP page is
Hi !
I´m developing with Cocoon2 and
Tomcat 4.0.1 and I get badtext in the browser when I
write in, for example, a confirm of Javascript characters like ?, ¿ ,
etc...
Do you know something about that
Can anybody tell me how to solve this problem
Jose de miguel Jiménez
email:
are
you placing the javascript in a cdata section?
SCRIPTxsl:comment![CDATA[function
hahaha() {
}]]/xsl:comment/SCRIPT
mvh
karl øie
-Original Message-From: Jose de Miguel
[mailto:[EMAIL PROTECTED]]Sent: 20. november 2001
17:00To: [EMAIL PROTECTED]Subject: Cocoon2 and
Thanks karl.
My codeline is :
a href="javascript:if(confirm('¿Desea salir de
la aplicación?'))
window.open('index','_top')"
img alt='Salir' border='0'
src='javascript:void(0);'//a
andthe javascript confirm doesn´t work. I´m
in a XSL page.
I will try with your solution.
Jose.
You are better off having the Javascript be served from something other
than cocoon. Like other non-xml content, it is troublesome to have it
pass through the XML pipeline.
You can, however, put it inside a CDATA section of the main document.
On Tue, 2001-11-20 at 15:59, Jose de Miguel wrote:
Hi,
has anyone a working example for the xinclude transformer. My example
doesnt'work:
I want to include another xml file from my fs.
mediablock
titleAbbildung: Beispieltitel/title
media xmlns:xi=http://www.w3.org/2001/XInclude;
xi:include href=/vern/public/music.third/
parameter
Bobby,
you can't modify XML, XSL or XSP files from Cocoon.
What you can do, however, is using Cocoon to execute some SQL statements
(or stored procedures) in order to modify the data from which XMLs are
derived.
Best regards,
-
hi,
have included the map:transform type=xinclude/ in the pipeline of
your sitemap?
something like that:
map:match pattern=simple-xinc.xml
map:generate src=simple-xinc.xml/
map:label name=content/
map:transform type=xinclude/ !-- aktivate the xinlude
transfomer!!
Torsten Curdt says:
Regarding this problem in general... I was unable to get Cocoon to
make an SQL request using JConnect (Sybase JDBC). There's an issue in
the way the connection setup is attempted. However I use this JDBC
driver in servlets all the time, so I just made a servlet
I imagine you'd have to write some custom code - most likely an Action object I would
guess - that gets executed when they submit the form. The Action would have to
manually re-write that file with the new color info.
One thing that might be helpful is to have a separate XML file with just
Is it not possible to write XSP (java) to write back to the file?
-Original Message-
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
Sent: Tuesday 20 November 2001 20:08
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Accepting Data From The Web and storing it.
Bobby,
On Tuesday 20 November 2001 05:12 pm, you wrote:
Is it not possible to write XSP (java) to write back to the file?
Yes, it is possible to modify the XSP documents that are on disk. I think
having an XSP document being self-modifying might be a bit odd, so I would
segregate out the modifying
Apologies my point was that I want users to be able to enter a code
themselves which would then become permanent.
-Original Message-
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday 20 November 2001 19:43
To: [EMAIL PROTECTED]
Subject: Re: Accepting Data From The Web
Not totally sure what you mean, but I guess you mean that each user has its own color
code.
Then I guess the procedure I mentioned would still work, but you'd need one color file
per user (i.e., colors_user1234.xml).
If I'm way off-base here, just let me know.
Like the other person said,
Sharat,
you can store your data in a DBMS and read them as XML.
Most DBMSs (Oracle, SQLServer, ...) can output data in XML, or you can use
ESQL or SQL Transformer (both from Cocoon) to get XML data from any DBMS.
Moreover, if you want to store data on disk and retrieve/modify them, XML is
not
You could also try using an XML database such as ones from B-Bop, Software AG or
Excelon. These will allow to store and retrieve your XML data without having to
write code to convert to and from relational tables.
-sanjay
Luca Morandini wrote:
Sharat,
you can store your data in a DBMS and
On Tue, 20 Nov 2001, Bernhard Huber wrote:
hi,
have included the map:transform type=xinclude/ in the pipeline of
your sitemap?
something like that:
map:match pattern=simple-xinc.xml
map:generate src=simple-xinc.xml/
map:label name=content/
map:transform
Try using map:transform type=log/ after xinclude, this will show you
the xml-content
after xinclude transformation, and before xinclude
Perhaps the xslt processing eats up the include element?
Use copyover.xsl to copy elements see in the documents stylesheet
directory for copyover.
bye
Also, don't forget the parse=xml attribute on your xinclude element. I
didn't see it in the original example you sent.
Regards,
--mike
On Wed, 21 Nov 2001, Bernhard Huber wrote:
Try using map:transform type=log/ after xinclude, this will show you
the xml-content
after xinclude
On Tue, 20 Nov 2001, Michael McKibben wrote:
Also, don't forget the parse=xml attribute on your xinclude element. I
didn't see it in the original example you sent.
I thought this were the default.
From XInclude.java(87):
if (null == parse) parse=xml;
Ahh yes you are correct. I've been using a modified XInclude transformer
that uses a custom URI class to better handle uri's supplied via the href
attribute. This modified version correctly handles relative/absolute URI's
(including the Cocoon custom protocols.) I haven't submitted it back to
the
I'm using cocoon-2.0rc2 tomcat 3.2.3
During the generation process, the java code generated from my XSP with
japanese characters content shows up as ?.
this is the beginning of my XSP page.
?xml version="1.0" encoding="shift_jis"?
?cocoon-process type="xsp"?
xsp:page language="java"
Hi,
I am writing a generator which parses an XML data stream (InputSource). I
want to add attributes to ONE of the elements that will come from that data
stream.
My thinking was that I could call
[MySaxParser].setContentHandler(this.contentHandler) to pass through the SAX
events, however, this
39 matches
Mail list logo