Hi,
1) What do you get without xsl processing, I mean what is in XML output of your xsp?
Is it contain proper text?
2) Try xsl:value-of select=data disable-output-escaping=yes/ instead of
xsl:value-of select=data/ in
your xsl.
Roman
By the way, my name is Roman.
[EMAIL PROTECTED] wrote:
Hi,
try in cocoon.xconf with driver
jdbc name=oracle-pool
pool-controller min=5 max=10 oradb=true/
auto-committrue/auto-commit
dburljdbc:oracle:thin:@prdwh1:1521:ITFP1A/dburl
user./user
password./password
On 09.Aug.2002 -- 09:31 AM, neil wrote:
Thanks for applying this stuff (or alternatives) so quickly.
OK so just decrease my row numbers by one then the same description applies:
With EsqlQuery.position initialised to -1:
I asked for 3 rows starting at 1 and got 4 rows starting at 1
I
Hi Kim,
I tried your first suggestion with the same results as before:
No suitable driver.
I had already the driver in the web.xml and believe it is loaded
correctly since I get the message
Unknown-thread/CocoonServlet: Trying to load class: oracle.jdbc.driver.OracleDriver
in the access.log
Hi,
Just a question, if XHTML is XML then is it possible to use XML serializer?
If not, why?
Roman
Vadim Gritsenko wrote:
From: Justin Fagnani-Bell [mailto:[EMAIL PROTECTED]]
Hi list,
I have a page with a form generated by Cocoon. There's a textarea in
the form where you can
KOZLOV Roman wrote:
Hi,
Just a question, if XHTML is XML then is it possible to use XML serializer?
If not, why?
Roman
Yes, it's possible of course. When serializing a document as XHTML instead
of XML, the doctype declaration for XHTML will be added.
Regards,
Joerg
--
System
Hi,
I would like to use a value from a HTML-form (post-method) in a query. I
guess this is possible in Cocoon, but I can't see how. I was reading the
description of the Request-Generator, but I'm not sure if this is what I
need. Can anybody give me a general direction where I have to look, or
Thanks for the replies guys, unfortunately I'm still kinda stuck.
I tried the xhtml serializer (which is really an xml serializer) and the
xml serializer They almost work, but not quite. First, Mozilla 1.0 won't
render tables correctly (td bgcolor attribute, though Chimera renders
fine) for
On 09.Aug.2002 -- 09:48 AM, Hahn Kurt (CHA) wrote:
Hi,
I would like to use a value from a HTML-form (post-method) in a query. I
guess this is possible in Cocoon, but I can't see how. I was reading the
description of the Request-Generator, but I'm not sure if this is what I
need. Can anybody
Thanks, that works.
The Addressbook.war sample that comes with xindice must have set this up
on my test machine when I installed it. As I have no recollection of
copying the jar to /WEB-INF/lib the first time around.
John
KOZLOV Roman wrote:
Hi John,
It seems that xindice.jar is absent in
Hi
I have a situation where I would like to do a lot of
URI-redirects/rewrites. I know I can do this via the sitemap,
but other people would be doing this. So for the reason of Separation
of Concern I would like to separate this from the actual sitemap.
My question is what are the possibilties
I have a situation where I would like to do a lot of
URI-redirects/rewrites. I know I can do this via the sitemap,
but other people would be doing this. So for the reason of Separation
of Concern I would like to separate this from the actual sitemap.
My question is what are the
I think what you need is RequestParamAction:
map:act type="request-encoded"
map:parameter name="parameters" value="true"/
!-- access request parameter by {request-param-name} --
/map:act
-Ursprungliche Nachricht-
Von: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED]]
Gesendet:
Hi Marcus,
couldn't you post it one day earlier ?
I have to figure it out yesterday on my own !
I can confirm that it works that way.
Perhaps you want to use a RequestGenerator before to make a switch according to the
'soapaction'-attribute. But for a simple server it's ok.
Greetings
--- Joerg Heinicke [EMAIL PROTECTED] wrote:
Alex Romayev wrote:
exclude-result-prefixes in the same file as
declares
the prefix worked.
A little explanation:
Namespace prefix and namespace uri are two different
things. You can declare
Vadim,
thank you for your quick response. Yes, it works indeed. Used the wrong
Content-Type :-[ .
Now, another problem:
I like to send request parameters in XML documents. The thing is that my
parameters can be deeply structured so that the form parameter solution
is inconvient.
If I could
ROSSEL Olivier wrote:
I have a situation where I would like to do a lot of
URI-redirects/rewrites. I know I can do this via the sitemap,
but other people would be doing this. So for the reason of Separation
of Concern I would like to separate this from the actual sitemap.
My question is what
Following the statement :
!Sub-Sitemaps and Components
Since Cocoon 2.0.X it has been possible to include additional cocoon.xconf
files in sub-directories. These will be automatically processed by Cocoon,
allowing the declaration and use of additional components, JDBC connections,
etc. Again
Thanks! It worked without problems!
But of course I couldn't wait until having another problem ;-)
The thing is that I'm trying to make this work:
sitemap.xmap:
map:generate src=docs/usuaris.xml/
map:transform src=stylesheets/usuaris.xsl
map:parameter name=use-request-parameters
I have to admit to not having tried that in detail -- I was going
by what I was seeing in the Cocoon examples.
I'll investigate and confirm that I'm not talking rubbish.
Apologies if I've lead you down the wrong track.
L.
-Original Message-
From: Leszek Gawron [mailto:[EMAIL
I want to connect to a mysql database. Since I read that there are a lot of
problems using the mm.myslq.Driver with my combination of tomcat, cocoon ,
java I just wanted to know there are any other solutions. or the only one
is to change my version of Java ???
Thanks in advanced.
I think a more important feature is to be able to populate the J2EE security
realm with a Principal name and roles, once authenticated through sunrise.
Since sunrise is doing a good job at protecting the URLs, I am not so
concerned about the url constraints in web.xml.
However I would like to
Hi,
I have an application called mts (which has html,
jsp's and servlets ) which has its own Web-Inf and
web.xml, where the servlets are mapped.The directory
mts is placed outside cocoon.Now the servlets inside
mts generates an xml file and I would like to use xslt
with cocoon.In this case I
You can add the principal to the context, if you add it in the
authentication resource, like currently in the demo the name
of the user is added. You can include any transformer,
generator etc. you want and add the required info.
Carsten
-Original Message-
From: Ivelin Ivanov
Hi,
I start a new thread about it because the problem deserves this and I'm
desperate ;-)
map:generate src=docs/consulta.xml/
map:transform type=sql
map:parameter name=use-connection value=cocoon/
/map:transform
map:transform src=stylesheets/usuaris.xsl/
map:serialize type=xml/
Looking at
Hi All,
I try retrieve column that
have cyrillic letters by
ESQL:
?xml version=1.0
encoding=windows-1251?
xsp:page ...
...
esql:query
SELECT username FROM users
WHERE fname LIKE
esql:parameter%xsp-request:get-parameter name=fname/%/esql:parameter
/esql:query
...
Hiloliddin Karimov wrote:
Hi All,
I try retrieve column that have cyrillic letters by ESQL:
?xml version=1.0 encoding=windows-1251?
xsp:page ...
...
esql:query
SELECT username FROM users
WHERE fname LIKE esql:parameter%xsp-request:get-parameter
After my misguided answer, I checked out the bug report at bugzilla - it
looks like it just needs to be resubmitted in diff format (the submitter
must have sent a complete file). If you're motivated, you should be able to
download the posted file, and create the diff yourself in cvs and resubmit
Your step a) makes it sound like this has nothing to do with SQL transformer
- that's the step that works unless I misunderstand you. When you say you
see only data and no xml tags in the browser that sounds like a common
non-problem I see all the time. A few questions:
1) Are the tags there
Albert,
may you show us usuaris.xsl ?
Best regards,
-
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-
I have a similar config like you. I recommend you upgrade to cocoon 2.0.3
You can get it from http://xml.apache.com
El Viernes, 09 de Agosto de 2002 04:36, Jessica Niewint escribió:
I want to connect to a mysql database. Since I read that there are a lot of
problems using the
method, but what is cdata-section-elements? Could it be of use to me
here?
cdata-section-elements is a declaration in xsl:output element of xsl which
allows you to cause the contents of an element to be surrounded by a
![CDATA[ ]] block, which causes the character data to pass through
Hi,
This is what I receive after the SQLTransform when I look it through the
browser (option view source code)
?xml version=1.0 encoding=UTF-8?
rowset
row
id081778/id
role/
nomname/nom
passwdpaswd/passwd
programaprogname/programa
/row
/rowset
After the XSLTransform, the browser gives an error
On 09.Aug.2002 -- 05:13 PM, Albert Cervera Areny wrote:
Hi,
This is what I receive after the SQLTransform when I look it through the
browser (option view source code)
?xml version=1.0 encoding=UTF-8?
rowset
row
id081778/id
role/
nomname/nom
passwdpaswd/passwd
Hi Jessica
You do not have to mention a JARs in contextroot/WEB-INF/lib/ in web.xml.
Restoring the old web.xml and restart tomcat.
If the error is still there, try to locate it in
contextroot/WEB-INF/logs/*.logs.
greetings
mike
- Original Message -
From: Jessica Niewint [EMAIL
-Original Message-
From: Christian Haul [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 11:19 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems with SQLTransformer
You need to copy all other elements explicitly!
? I don't see any that he didn't handle.
!--
Copy all
081778namepassdprogname
This looks like the default template for elements which just copies their
value. As an experiment, try this:
?xml version=1.0 encoding=iso-8859-1?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:template match=rowset
I'm upgrading from 2.0.2 to 2.0.3 and now I get the following error:
ERROR (2002-08-09) 11:15.00:338 [sitemap] (/NASApp/dfc/common/controlpanel.xml)
Thread-39/Handler: Error compiling sitemap
java.io.FileNotFoundException: /WEB-INF/work/org/apache/cocoon/www/sitemap_xmap.java
(No such
Hi,
Could you try to add to your xsl a template for the root node like this:
xsl:template match=/
xsl:apply-templates/
/xsl:template
or just modify the template for rowset like this:
xsl:template match=/rowset
xsl:apply-templates/
/xsl:template
Roman
Albert Cervera Areny
Sorry but I think I haven't understand you,
You do not have to mention a JARs in contextroot/WEB-INF/lib/ in web.xml.
Restoring the old web.xml and restart tomcat.
what does it mean, I can add my mm.mysql driver to the web-inf/lib folder
without changing the web.xml file? If I do this I got a
Vadim Gritsenko wrote:
From: Boscoe [mailto:[EMAIL PROTECTED]]
Well,
just read a bit further: StreamGenerator seems to be exactly what I
need. But how can XSP access data from a StreamGenerator ?
You've got to know that pipeline (no aggregation) has to have one and
only generator. Thus,
From: Boscoe [mailto:[EMAIL PROTECTED]]
Vadim Gritsenko wrote:
From: Boscoe [mailto:[EMAIL PROTECTED]]
Well,
just read a bit further: StreamGenerator seems to be exactly what I
need. But how can XSP access data from a StreamGenerator ?
You've got to know that pipeline (no
Hi Skip,
It works,,,Thanks a lot!!!
Kavitha
--- Skip Carter [EMAIL PROTECTED] wrote:
Kavitha,
I have the class, Servlet.class and I have placed
it
in the Web-Inf folder.Now my main sitemap is as
follows:
map:match pattern=Servlet/*(what should be
there
in the Servlet
Yes! finally.
Here's what I did. I added a cdata tag around my textarea tags in my
stylesheet, then put cdata-section-
elementscdata/cdata-section-elements in my serializer definition. Now
even when the textarea has no text the tag doesn't get touched. The
browser just ignores the made up
Justin,
could you please summarize your problem (and the solution you've found) and post it
to the mailing list with a [SUMMARY] tag in
the subject line ?
Best regards,
-
Luca Morandini
GIS Consultant
Yes!!! Finally that worked! Buff I've spent so many hours with it... I
think I should revise the namespace lesson ;-)
Thanks to everyone for your suggestions!
I promise to come back soon with a new challenge:
Italy: one
Rest of the world: zero ;-)
and hopefully some answers too
yes, this might make a nice little HOW-TO, although i'm a little suspicious
that the behaviour may be dependent on xslt engine implementation. If
someone does this up for the docs, it would be wise to check out the
behaviour with saxon, and xsltc or some other engines.
Geoff
-Original
I am trying to bring multiple documents together into a single document
in order to create a book in which each document is a separate chapter.
However, I do not want the structure of the book to be stored in the
sitemap, I want this in a separate XML file.
So what I have is a description of
Does it makes senese or is it even possible to use
filter transformer with the paginator???
Would it improve performance?
-Apurva
__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
On Fri, 2002-08-09 at 13:48, Rick Tessner wrote:
Finally, create this new file resources/entities/document-v11/catalog
with the single line
PUBLIC -//APACHE/DTD Documentation V1.1//EN document-v11.dtd
Ooops .. should be quotes around the document-v11.dtd. So, that line
shold read
Rick Tessner wrote:
On Fri, 2002-08-09 at 13:16, Ross Gardler wrote:
I suspect the best way to handle this would be through the use of the
catalogs. There's a couple of ways of handling this. The quickest, but
not necessarily the best, would be to do the following:
snip what=very
I wonder that this is working. The textarea/textarea will be escaped
because of CDATA section to lt;textareagt;lt;/textareagt; when it's
parsed and it shell be shown in the browser as text
textarea/textarea - but it should not work.
That was what I expect. I tried to test it, but it was not
Hmmm... well I'm getting some strange things happening now. The cdata
section is no longer working (i swear it worked :), and Chimera is not
rendering things correctly anymore, it's acting like Mozilla.
When it was working the textarea tags were not escaped.
For now, I made a small hack
Hi Justin,
isn't adding a non-breaking space to the textarea (as default text) the
best solution?
Joerg
Justin Fagnani-Bell wrote:
Hmmm... well I'm getting some strange things happening now. The cdata
section is no longer working (i swear it worked :), and Chimera is not
rendering things
Hello All
I have resoluted successfully the problem with UTF-8
The solution is
1) Create a DB with encoding UTF-8
2) In XSP or the action class write request.setCharacterEncoding(UTF-8)
3) Since the encoding by default to the serializer is UTF-8, so in response
this won't be a problem
So
On Fri, 2002-08-09 at 14:03, Ross Gardler wrote:
Generation does not fail on any document other than those that have
aggregate docuements thorugh xsl:apply-templates
select=document(@href)/
so I don't think it is a problem with catalogs, rather it seems to be a
problem with the XSLT
56 matches
Mail list logo