I'm retrieving UTF-8 data from Oracle table. I put UTF-8 encoding in my XSP
page. then I use XML-serializer to see what's coming out. I have some
chinese words in the varchar2 field, I see that they are "‘" and so on
in the XML file produced, which is apparently wrong. Any ideas?
Argyn
-
On Tuesday 07 May 2002 01:29 pm, Omar Alos wrote:
> works with Xalan, but when I try with Saxon, java
> generated file is not correct. Nodes are not generated
>
> all commands "this.contentHandler.startElement" like
>
> this.contentHandler.startElement("","title","title",xspAttr);
>
> are missing.
Docbook stylesheets works fine with Saxon, but I can't
execute xsp
this page:
xsp:page xmlns:xsp="http://apache.org/xsp";
language="java">
CONTRATO DE ARRENDAMIENTO DE SERVICIOS
PROFESIONALES
prueba
works with Xalan, but when I try with Saxon, java
generated file is not
I searched the faq's and surfed before posting this and was
surprised to find that this has not already been addressed.
After successfully using C2 on Tomcat, I attempted to migrate
to a hosting environment running ServletExec 3.1 on Solaris 5.8
and I get the following error when the servlet eng
Hi,
It is possible for components in the cocoon.xmap to get source over
the SourceResolver from the sitemap.
cocoon.xconf:
My second question is about the validity of sources. Is this
the correct way to test if a file has changed?
resolver = (SourceResolver) manager.lookup(SourceResolve
Cenk,
something along these lines should work:
I wrote it without testing it first, so, don't blame me for errors :)
Best regards,
P.S.
I really meant it: XSL/XPath is worth buying a book or two.
-
Luca Morandini
There's an crossbrowser JavaScript LGPL Project at
http://www.uwyn.com/projects/relativelayers .
It shows dynamic Layer creation at:
http://www.uwyn.com/projects/relativelayers/examples/example10.html .
Most of the RelativeLayers package is supported on both IE and Netscape. Even Opera
(www
Yes, now I think this might be what I'm looking for...
Bert Van Kets wrote:
>
> Isn't the xsl-dynamic page that you need? The sample can be found at
> http://localhost:8080/cocoon/sub/xsl-dynamic
> The transformer of the main pipeline calls a different pipeline where an
> XSP page generates th
Hi Frank,
Did you check the result you get before transformation by sql.xsl? Perhaps it is
necessary to use attribute disable-output-escaping="yes" in its elements.
Roman
Frank Ridderbusch wrote:
> Hi Cocooners,
>
> I'm having a problem with the encoding of a sql query from the SQLTransformer.
Hi Konstantin, great work on i18n!
Is there an XML Schema the i18n elements? I would like to import it into a schema I
am putting together.
Thanks,
Bruce
-
Please check that your question has not already been answered in th
Thanks for your reply.
I've got it working already.
I had problems using the j2ee.jar
Now I am using the 2 individual jars instead and it works like a charm.
Horst
- Original Message -
From: "Perry Molendijk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 07, 2002 2:06 A
I have a problem with Saxon 6.5.2 and Xinclude transformer.
I get the following:
java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI
at
org.apache.avalon.excalibur.xml.xpath.XPathProcessorImpl.selectNodeList(XPathProcessorImpl.java:65)
at
org.apache.cocoon.transformation.
What is the correct way to declare an entry in my sitemap so that I can
reference logicsheet uris in my documents with cocoon://? Do I just do a
read like an image, or do I have to serialize them in some special way?
TIA.
-Zack
-
I think my problem came to the point that "How can I run XPath
functions in XSL?"
Sorry for this "out of topic" question...
__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
---
Hi All,
I have downloaded xml-cocoon2_20020507041716.tar.gz and have BUILD
SUCCESSFUL
In http://localhost/cocoon/tutorial/create-dept.html
At trying creation new department show "You have successfully processed the
department", but there is no new department if see department table (or find
depar
Hi Cenk,
You can store the "x,y,z" value in an xsl:variable, and then you can use the
functions Luca mentioned to parse the string. Hope that helps!
Harry
-Original Message-
From: Cenk Uysal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 9:00 AM
To: [EMAIL PROTECTED]; [EMAIL PR
I can understand you but my question was how to run an XPath
expression in a XSL file for parsing the element? More
specifically my problem is:
I get a parameter from Sitemap with element like "x,y,z"
But I have to use this parameter as seperate parameters like x and y
and z in my XSL file. Fo
> From: Michael Cortez [mailto:[EMAIL PROTECTED]]
>
> >> It does not *execute* XSP page neither *calls* XSP page.
> >> It merely *reads* XSP page, that's it.
>
> Ah, my mistake then, sorry. The interesting thing to note, is that it
did
> not give any errors calling it the way I did -- and when
> From: Frank Ridderbusch [mailto:[EMAIL PROTECTED]]
>
> On Mon, 6 May 2002 14:11:53 -0400
> "Vadim Gritsenko" <[EMAIL PROTECTED]> wrote:
>
> > Try saxon-6.5.2.jar. Works for me.
> >
> > Vadim
>
> Does it work for you in every respect?
>
>
> I'm also using Saxon and for the most part it works.
Cenk,
as you may know, XSL and XPath is not a matter to be explained in a message.
Get yourself a book, or browse at: http://www.w3c.org/Style/XSL/ or
http://www.zvon.org/xxl/XPathTutorial/General/examples.html or
http://www.zvon.org/xxl/XSLTutorial/Output/index.html
Sorry for not being of fur
I don't have information about XPath. Can you give an example of that
kind of XPath usage? Assume that I get the parameter with this
element in my XSL file:
And then...
__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://he
Cenk,
this an XSL issue... anyway, you can use XPath functions like substring(),
substring-before(), or substring-after() to have it scanned.
Best regards,
-
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
h
Hi,
I want to do some operations on a parameter that I get from Cocoon
Sitemap with xsl:param element. How can I do that? I can only print
it on screen. But I want to do some other operations like parsing.
__
Do You Yahoo!?
Yahoo! Health - your gu
> Hi,
>
> I'm wondering what is the preferred use of i18n. I'm developing a
> bi-lingual site.
>
> I've looked at message catalogs, but I don't want to insert all my content
> in a single file (of course).
You don't have to. You can use as many files as you wish. See latest i18n
samples (/samples
From: "jason lane" <[EMAIL PROTECTED]>
> Hello people,
>
> I'm new to cocoon 2, I'm running on OS X 10.1.4 and Tomcat 4.0.1 and
> I've got a problem with i18n. The pipeline is failing to execute, file
> not found error on the examples page. My guess is that the sitemap need
> to be modified or the
From: "Cenk Uysal" <[EMAIL PROTECTED]>
> Hi,
>
> I want to prepare a site which I will serve both in English and
> Turkish language. So I want to use a way of serving my site in
> different languages but without using i18n property of Cocoon.
> Because I think this technology is in stage of develo
> From: John Gilbertson [mailto:[EMAIL PROTECTED]]
>
> On Fri, 3 May 2002, Vadim Gritsenko wrote:
>
> >> The cached version it's using was me trying in work yesterday..
this
> >> morning it's still using that cached version, even though it's
> >> requesting the file each time I request the page
> From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
>
> Isn't the xsl-dynamic page that you need?
I think that's not exactly what he needs...
> The sample can be found at
> http://localhost:8080/cocoon/sub/xsl-dynamic
> The transformer of the main pipeline calls a different pipeline where
an
> X
You should use base="" attribute. IIRC:
Vadim
--
Resistance is futile.
> From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]]
>
> This probably already has been discussed.
> But I have two files I want to aggregate. One way to do it is with
> map:aggregate.
> However xinclude has more pos
On 06.May.2002 -- 11:49 AM, Jacob Arnold wrote:
> I've been adapting the protected login example from the Cocoon docs for my
> own Web application, but my company encrypts users' passwords in its Oracle
> database. Is it possible to call a stored procedure (to check the password)
> from a descript
If you need a working XML Form example, you need to get the latest dev
snapshot, build and run cocoon with scratchpad. Then point to:
http://localhost:8080/cocoon/mount/xmlform/wizard.html
You can also read the README.txt:
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/scratchpad/webapp/moun
Can't you get another compiler. I hear only complaints about IBM compilers
-Oorspronkelijk bericht-
Van: Emre Tezel [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 7 mei 2002 3:12
Aan: [EMAIL PROTECTED]
Onderwerp: Using the IBM Compiler
Hi Cocoon users,
I am trying to setup cocoon on Red
Thanks a lot for your help. Know it works like supposed. These modular database
actions are really great, so keep on the good work.
Malte
>>> Christian Haul <[EMAIL PROTECTED]> 06.05.2002 09.40 Uhr >>>
On 06.May.2002 -- 08:44 AM, Malte Vahlenkamp wrote:
> Hello,
>
> I have some problems with
Hi all
I have been asking this in cocoon users and got something called XML Form
to build xml file and to add to xml file. Can anyone give me sample to get
an idea of the working functionality.
Thanks in advance
Regards
sreenivasan.
"Attitudes are much more important than aptitudes."
i want to use eXist database with cocoon. for this, i have to configure the
taglib for eXist.
i have exist.jar in web-inf\lib
in coccon.xconf i put
http://exist.sourceforge.net/exist/1.0"/>
in web.xml
exist-taglib
/WEB-INF/exist-taglib.tld
Hello Horst
Sorry it's taken a while for a reply.
Like I wrote I have only tried this on Win2K, jdk1.3.1, tomcat 4.0.1 and
Cocoon 2.0.2.
But do you have activation.jar and mail.jar in your cocoon/WEB-INF/lib
directory? If you haven't, give it a try. I may have done something wrong
myself but it
On Mon, 6 May 2002 14:11:53 -0400
"Vadim Gritsenko" <[EMAIL PROTECTED]> wrote:
> Try saxon-6.5.2.jar. Works for me.
>
> Vadim
Does it work for you in every respect?
I'm also using Saxon and for the most part it works. However I'm including
this option in the TOMCAT_OPTS/CATALINA_OPTS env varia
On Fri, 3 May 2002, Vadim Gritsenko wrote:
>> The cached version it's using was me trying in work yesterday.. this
>> morning it's still using that cached version, even though it's
>> requesting the file each time I request the page from it.
>
>Check last modified time in the HTTP response of you
This probably already has been discussed.
But I have two files I want to aggregate. One way to do it is with
map:aggregate.
However xinclude has more possiblities, for example I can add a header.
My big problem is that I can't use neither a url or a cocoon:/ in
xinclude (or can I?). Even tho
Hi Cocooners,
I'm having a problem with the encoding of a sql query from the SQLTransformer.
Configuration is:
Cocoon 2.0.3-dev from CVS
IBM JDK 1.3
Tomcat 3.3
Oracle 8.1.7
Instead of getting the wanted germans umlauts, I'm apparently getting UTF
encoded characters (instead of ü or Üa
Isn't the xsl-dynamic page that you need? The sample can be found at
http://localhost:8080/cocoon/sub/xsl-dynamic
The transformer of the main pipeline calls a different pipeline where an
XSP page generates the transformations. To my opinion XSP can be used as
a transformer this way, no?
I have used two different approaches.
One is using the request generator(*very* easy), the other creating an XSP
that uses the request.getParameter(String) way. The latter one was chosen
to be able to mix the received data with database data and for sorting.
Bert
At 09:25 6/05/2002 -0700, you
Hi all,
if you have just received message starting with 'A funny web site' -- do
not open it! This message has been sent by a virus!!!
I hope this is not too late...
Yours,
Sergei
-
Please check that your question has not
43 matches
Mail list logo