Here's what im tying to do:
1. Load simple.xsp from the main cocoon welcome page. This is loaded with a
click on the XSP Internationalization link - simpl.xsp uses simple.xsl for
transformation.
2. From simple.xsp, i have a link to demo.xsp which is stored in the /i18n
folder. When the page load
Its not directly related to i18n... just that im using the i18n transformer
and hence when i get linked to the i18n sitemap, i need to make some changes
to link to pages from simple.xsp. Sorry for the confusion.
My problem simply stated is as follows...
How does one define links from simple.xsp
>
>
>
>
>
>
>
>
>
>
>
> I cant even change the **.xsp in the match pattern to customise it for
each
> xsp page (like . For example, i have a link
> form simple.xsp to demo.xsp. The link works fine, but the style sheet is
the
> same for both. Any ideas how i can customise these sub-double
I cant even change the **.xsp in the match pattern to customise it for each
xsp page (like . For example, i have a link
form simple.xsp to demo.xsp. The link works fine, but the style sheet is the
same for both. Any
Hi,
In the sitemap for i18n, the pipeline for the xsp example is defined as
follows
If i want to add links to my simple.xsp page, i need to use a stylesheet
other than simple.xsl. However, when i change the code
f
> > you are wrong. i use cocoon-1.8.2 with jdk-1.3. your problem seems to be
> > with extraneous (dom1) classes in your servlet engine's classpath.
>
> Could you let me know your classpath? I could check mine and see what's
> wrong with my configuration. By the way, what JDK/platform are you usi
Christopher -
The way I do this is to work out the absolute path for the page (not always
reliable, depending upon your servlet environment), and then use the Java
File methods to get the last modified date. I don't have sample code to
hand, but it's fairly straightforward once you get the path
I tried that one... but i got the
org.xml.sax.SAXParseException: The value of attribute "select" must not
contain the '<' character.
because, we are trying to include the element before
closing the.
when tried with
../document[child::type=]
repository
node
We can get the
My problem :
I am using using fp:read tag in my xsp to include some elements from my
(another) xml file.
The select attribute of my fp:read tag includes a request-parameter. So I need
to create a fp:read tag like
']" from="repository" as="node"/>
But it throws
org.xml.sax.SAXParseException: The
Hi There!
I've recently installed Cocoon on WebSphere 3.5.4 using the install script
and when I try to display the index.xml file in the samples directory I get
the following:
org.xml.sax.SAXParseException: The markup in the document following the root
element must be well-formed.
at
Konstantin Agouros wrote:
> Hi,
> anybody tried the docbook-dtd with cocoon? Are there
> stylesheets available? Sorry if this is in the FAQ.
Yes, we have successfully used both the full DocBook
and the Simplified DocBook with C2 processing. This
assumes that you have installed the DocBook DTDs an
Hi, JOERN_HEID and All
JOERN_HEID is right.
I use the action to select XML based on the request. I am not sure is it can help u or
not ...
regards,
Kok Choon
> ...
> ...
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
instead of you could
try and see whether this can solve the problem.
I had similar problem when I used , I solveed the
problem by remplacing "/" by the root element of my XML in the match
attribute of my xsl:template.
Bobo,
- Original Message -
From: "Tibi DONDERA" <[EMAIL PROTECTED]
C2B2
JBoss 2.4.0 with Tomcat 3.2.3
Has anyone implemented their own Generator for cocoon in java and got it
working ?
I'm trying to do same with some sitemap compilation errors -
Be will to share experience when/if I get it working
Tony
---
Tony Goodwin
C2B2 (5th Sept)
JBoss 2.4.0 with Tomcat 3.2.3
Where does the classpath for the compilation of sitemap come from?
I have the dreaded Class not found scenario (though the class is in the
context/WEB-INF/lib)
I assume it is coming from tomcat?
Any hints helpful
---
500 Internal Server Error
org.apache.cocoon.Cocoon;
java.lang.NullPointerException
Any Suggestions???
Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powerin
Hi
I'd like to generate an xsl from an xsp (an example of this below)
and save this it on my disk automatically (overwriting the previous one)
and use it as a transformer for requests(I already know this part).
I've found this in apidocs:
public FileSavingEnvironment(java.lang.String uri,
try http://xml.apache.org/dist/xalan-j/old/
Although I don't see a 1.2.3 - the closest seems to be 1.2.2.
-Christopher
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Building 1.8.2
hi,
it says I need xalan 1.2.3 which isn't available anymore, so which one do
Dear C2 and Turbine users
We are using Cocoon 2 & Turbine to build a content mgmt tool. In the admin
user/content publisher tool, we need to cater for the following hierarchical
structures.
root---folder1---index.xml
+
+-folder2---index.xml
+
+-folder3---index.x
Thangadurai,
try
']" from="repository" as="node"/>
Kevin
-Original Message-
From: Thangadurai [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 7:56 AM
To: cocoon-users
Subject: dynamic select clause in fp:read tag?
Hi All,
In my xsp page, I am using the fp:r
Hello, I am not sure if you have stumbled across a bug or not, but I have
gotten xinclude to work without indenting in C2b2. The way I got this to
work is by including an internal pipeline using a cocoon:// style url from
my aggregate xml file (probably not the only way, but this is what I am
doin
Hi Mario,
I am using 3 nested actions in my sitemap:
action1: form validation and substitution of default value for missing
non-nullable parameters
action2: request parameter manipulation (new values are saved into request
attributes since there is no setParameter() method on the Request object
Hi Konstantin,
the stylesheets to convert DocBook to HTML and other formats are hosted at:
www.sourceforge.net/projects/docbook
I used the HTML and HTMLHelp stylesheets with C2 and they work very well.
Regards, Mario
Konstantin Agouros wrote:
>Hi,
>
>anybody tried the docbook-dtd with cocoon
Konstantin Agouros wrote:
>
> Hi,
>
> anybody tried the docbook-dtd with cocoon? Are there stylesheets available?
> Sorry if this is in the FAQ.
The Avalon documentation is built using DocBook DTD and Cocoon.
(http://jakarta.apache.org/avalon/developing/index.html)
---
Hi Chris,
1. how does this intermediate "request attribute over request param" work
in practice? I mean, how does your code / sitemap look like, when you use
this feature?
2. To whom do you forward your patch for AbstractDatabaseAction? Or do you
have permissions to write to the CVS tree? I ask
Are you using anywhere exactly in this forms, i.e.
without select-attribute? Then you match on text()-nodes too, e.g. line
wraps. They will be copied into the output-document too.
Depending on your XSL the following template COULD help:
Joerg
Jorn Heid wrote:
> This works for the main xslt
Hi,
anybody tried the docbook-dtd with cocoon? Are there stylesheets available?
Sorry if this is in the FAQ.
Konstantin
--
Konstantin Agouros - NetAge Solutions, Dingolfinger Str. 6, 81673 Muenchen
Tel.: 089 666584-0, Fax: 089 666584-11, Email: [EMAIL PROTECTED]
---
hi,
it says I need xalan 1.2.3 which isn't available anymore, so which one do I
take? Or does someone have a URL to this?
Konstantin
--
Konstantin Agouros - NetAge Solutions, Dingolfinger Str. 6, 81673 Muenchen
Tel.: 089 666584-0, Fax: 089 666584-11, Email: [EMAIL PROTECTED]
---
Hi Mario,
You are completely right!
I'd forgotton that the form validation action could substitute default
values for missing form parameters. In that case there is no need to add
support for nullable and default descriptor attributes in
AbstractDatabaseAction.
I'll still submit a patch to Abst
This works for the main xslt-stylesheet but when using xsl:include the
problem remains:
n3k Homepage
The IP & Performance Management Experts
With the rapid growth of IP
networks we are uniquely placed to provide the very best solutions to manage
and control corpor
Hi Chris,
when I have a form validation descriptor to validate parameters, which
are later stored in database columns, then I do not like to put the same
rules into the form validation descriptor and also in the database
descriptor.
I like to have all validation rules in one descriptor. I thin
Hi All,
The util logicsheet still doesn't work in Cocoon2b2 (from CVS). Is this
still a valid way to insert a String containing XML into the document as SAX
events? i.e. should I try and fix it or is there a better way to do this?
(I'm using namespace xmlns:util="http://apache.org/xsp/util/2.0";
Hi Mario,
I can't see how this conflicts. I would imagine that people would be using
different descriptor files for form validation and database manipulation
wouldn't they?
A form validation descriptor is about parameter constraint validation, the
database action descriptor is about manipulating
Hi Chris,
sorry for interrupting your discussion with Andrew. You wrote:
"nullable" attribute in the AbstractDatabaseAction descriptor
"default" attribute in the AbstractDatabaseAction descriptor
Does this not conflict with the Form Validation descriptor, which also includes
nullable and default
Hi Andrew,
I'm working with the latest Cocoon2b2 code from CVS.
I've added support in AbstractDatabaseAction for:
request attributes overriding request parameters
"nullable" attribute in the AbstractDatabaseAction descriptor
"default" attribute in the AbstractDatabaseAction descriptor
I'll be
> Tomcat v4 has 2 jasper jar files, jasper-runtime.jar and
> jasper_compiler.jar, but it does NOT have a jasper.jar.
> Jasper-runtime.jar is the only one exposed to webapps. Is the intent
> that webapps, like cocoon, should use jasper-runtime.jar?
Try to copy jasper-compiler.jar to your WEB-INF/
Tomcat v4 has 2 jasper jar files, jasper-runtime.jar and
jasper_compiler.jar, but it does NOT have a jasper.jar.
Jasper-runtime.jar is the only one exposed to webapps. Is the intent
that webapps, like cocoon, should use jasper-runtime.jar?
Paul Spencer
"Piroumian, Konstantin" wrote:
>
> > The
Hi Joerg,
Haha, Thank a lot, it works ! The answer is there, but i didn't go and read it
carefuly.
Anyway, Thank you.
:)
All the best.
Kok Choon.
Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 09/06/01
Time:
IMHO:
You have a newline char before your tag (ie it's not on the first
line, first char of the file). That is not allowed by the xml specs.
- Original Message -
From: "JEULIN Olivier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 06, 2001 11:20 AM
Subject: RE:
Hello Chris,
if you can send me your sources/patches, i will be very happy.
I'm not java-spec, while only try :)
What version on C2 you change?
I described on cocoon-dev mailing list and can send your sources to
developers. Or if you subscribed too, you can do it.
I think what this changes are
Hi Stefan,
below there is a answer of the "man of the cache" Carsten, to
your question why more then one store.
Hi Gerhard,
the answer is in fact really short: It's the way it was designed :-)
No, seriously, the idea behind this was that you can configure both
stores differently. For exampl
Hi,
> - Why are there three MRUMemoryStores? One "store", one "stream-cache",
> on "event-cache"?
I don't really now. Few days before I asked this question too, but I didn't
get an
anwer. But I think because there are 2 piplines (CacheStreamPipeline and
CacheEventPipeline). Each of them has a own
Hello World!
This is my first Cocoon page!
the testsheet.xsl
http://www.w3.org/1999/XSL/Transform";>
you don't even create a root element with your stylesheet.
create a template matching 'page' or '/':
--
Cocoon 2 (don't know Cocoon 1) ignores the , you must this
parameters in the sitemap. Have a look at
http://xml.apache.org/cocoon2/sitemap.html. There can be found examples at
the point 'Serializers'.
Joerg
Ling Kok Choon wrote:
> Hi All,
>
> I use cocoon to build a web site, when the outp
Oops, wrong list. It was for cocoon-dev.
> > Hi, C2ers!
> >
> > I'm still trying to understand how source resolver works with different
> > types of paths and protocols.
> >
> > Can anybody please point me to some kind of documentation about the path
> > resolution? I can't figure out why SourceR
> but what i now need, is a xsp-function, which gets the content of an
> xml-file (because i want to select something before
> formatting it in an
> xsl).
read the samples in your 'samples/xinclude/' distribution of cocoon (this
path is for C1, but I guess there's one for C2 too)
Olivier
--
Has anyone further information concerning the MRUMemoryStore-Settings in
cocoon.xconf?
It is commentent in the File, but on several questions i found no
answers:
- Why are there three MRUMemoryStores? One "store", one "stream-cache",
on "event-cache"?
- What exactly is cached in "store"?
- Wh
> Hi, C2ers!
>
> I'm still trying to understand how source resolver works with different
> types of paths and protocols.
>
> Can anybody please point me to some kind of documentation about the path
> resolution? I can't figure out why SourceResolver.resolve() returns
> different formats of paths
Hi, C2ers!
I'm still trying to understand how source resolver works with different
types of paths and protocols.
Can anybody please point me to some kind of documentation about the path
resolution? I can't figure out why SourceResolver.resolve() returns
different formats of paths. Is that expect
I don't think this is possible as of SAX: When the first element is
generated from your xsp the pipeline has to be determined.
What you want to have is that the pipeline depends on the dom tree (C1). For
that, you have to find another way.
The simplest solution for your problem, I think, is to wr
I need to select the correct stylesheet checking some XML flags of the
pipeline. Something like this (look at the XML selector):
51 matches
Mail list logo