Tetsu Ito a écrit :
Hi everyone.
I am stuck on XML - HTML transforming. I want to transform this
banner
motionjsky1.png/motion
motionjsky2.png/motion
motionjsky3.png/motion
/banner
to
img motion=jsky1.png motion=jsky2.png motion=jsky3.png /
The FAQ reads
Hi,
creates anybody bunches of static html or pdf pages with C2 instead of
stylebook?
I see in the C2 dist, that all the xdocs were created with stylebook. Can C2 do
this for me? With the C2 CLI?
I ask because, I start a new project now, and I will establish XML and C2 as
documentational
-Original Message-
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 18 luglio 2001 3.10
To: [EMAIL PROTECTED]
Subject: Re: C1 to C2
I always point directly to mod_jk.conf-auto in httpd.conf because it
will always be up to date. It is created each time Tomcat starts
JASC have something which can draw SVG, CorelDraw 9 has a pug-in and 10 full
support and the Adobe tools are (apparently) very good at outputting SVG.
The easiest way to generate something which is dynamic when you don't
understand the tech well enough to write it verbatim is to generate a
Thank you for your quick reply.
I know it is not a well-formed XML nor well-formed HTML.
But animation png in
J-Sky(mobile internet service in Japan) requiers to be so.
Therefore I am searching way to generate this tag.
I have tried Java-extension to xsl:stylesheet. Like this,
xsl:value-of
Or, just put a Entity Reference Declaration in your XML document like:
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE root [!ENTITY nbsp #160;]
root
...
/root
or, you can directly use #160; instead of nbsp; in you XML source
without any further declarations.
Stefan
-Ursprüngliche
Hi,
just try
xsl:text disable-output-escaping=yesamp;nbsp;/xsl:text
that should work (does for me).
Regards
Klaus Hendrik
At 10:17 18.07.2001, you wrote:
Yes I did ... and it produces the following HTML:
amp;nbsp;
Needless to say that is not exactly what I was looking
for
Hi,
do you've tried #160; for the non breakable space?
Regards
Steffen...
On Mit, 18 Jul 2001 you wrote:
Thanks for your help
![CDATA[]] still produces amp; in the output HTML
On the other side your definition:
!DOCTYPE xsp:stylesheet [
!ENTITY nbsp
]
works, but produces
Thanks a million ... this worked :-)
Just a question ... isn't it prohibited to use
disable-output-escaping in Cocoon?!?!
Drasko
--- Klaus-Hendrik Wolf [EMAIL PROTECTED] wrote:
Hi,
just try
xsl:text
disable-output-escaping=yesamp;nbsp;/xsl:text
that should work (does for me).
Regards
Well, some conversion process in you mailing system or in the mailing
list stripped the elementary pieces of my.
In the (or the second sentence between use and instead) should
be (here with spaces between): # 1 6 0 ; ( in words: amp,
double-cross, one, six, zero, semicolon )
Stefan
Hi
That is the difference between logicsheets and
taglibs?
I can remember that I have seen this question
before, but cannot find the answer anymore. So please just answer me
short.
Thanx
Berin Loritsch wrote:
Marks local account wrote:
Cocoon 2.0b1 in tomcat 3.2.2 on Linux 7.1
I am trying to write an action for use in my site map. When c2
executes
the sitemap java file I notice it is throwing the following exception
(from cooocon.log):
If it is a pre-written
On Wed, Jul 18, 2001 at 12:31:51PM +0200, Per Steffensen wrote:
That is the difference between logicsheets and taglibs?
A logicsheet defines a taglib
http://xml.apache.org/cocoon2/logicsheet-guide.html
--
Arnaud Bienvenu
http://www.generasound.com/
Hi,
would not work simply amp;nbsp; without disable-output-escaping ?
Drasko Kokic wrote:
Thanks a million ... this worked :-)
Just a question ... isn't it prohibited to use
disable-output-escaping in Cocoon?!?!
Drasko
--- Klaus-Hendrik Wolf [EMAIL PROTECTED] wrote:
Hi,
just try
Greg Merrill wrote:
Has anyone seen behavior like this before? I'm
running JBoss w/embedded Tomcat.
It seems similar to a problem I am having with my own actions. Check out
the thread 'Classpath problems with Actions'
Mark Miller
Web Architect
Logica
Marks local account wrote:
Berin Loritsch wrote:
Marks local account wrote:
Cocoon 2.0b1 in tomcat 3.2.2 on Linux 7.1
I am trying to write an action for use in my site map. When c2
executes
the sitemap java file I notice it is throwing the following exception
(from
Hi,
Unfortunately, this version of Cocoon does not come with samples
folder that explains how to use this new version. It came to me that
it follows a complete different architecture from the 1.x versions that
you can't simply figure out. So I wonder if there is any article or
tutorial that
Hi.,
I know this is not right forum to ask...out of
choice..here is my question..
I am trying to convert a normal data(from database or
simply from hashtable) paired as field/value into a
fixed length message string..meantime i need to
specify which field go to which position of the output
Greg Merrill wrote:
Does XSP use a different classpaths at compile-time
and run-time? The reason I ask is because I'm seeing
the following strange behavior:
I have an XSP which imports/uses some utility classes
which live in a jar file within my war's WEB-INF/lib.
When I access this
Hi, Any help or pointers would be much appreciated
The Cocoon servlet won't start.
The embedded exception is
org.xml.sax.SAXNotSupportedException:
Property:http://xml.org/sax/properties/lexical-handler
I'm sure I've followed the instructions exactly with a CVS from today.
Tomcat Apache
At 03:03 PM 7/17/2001 -0700, you wrote:
Can everyone please take some time to contribute to the docs? This will be
really helpful for
C2-Beta2.
Can we create a list of areas that need improvement? I'd love to contribute
but i'd like to know where help is needed :)
-pete
--
peter royal -
Kiril Sramko a écrit :
Hi, I just started with SVG, cocoon and batik.
I can't find a solution in the docs for the problem I've got to solve. I need
to know the length of a string I'm getting from a XML-file in px for the
width of the generated JPG. Im formating this string with
Trying to use util:get-file-contents on Cocoon2.1-dev (cvs updated today),
I noticed three problems :
- You must specify the encoding attribute, or go to hell
- You must catch the java.io.IOException, or apply the patch I made for
util.xsl
- You must use absolute path for the name of the file
Hello,
I have set up my cocoon application to not handle errors internally, and
then they are handled by tomcat... This is nice because the error messages
are hidden from our users (who get scared by stack traces) and can send an
error report to our team.
The only problem is that my tomcat
On 18.Jul.2001 -- 06:46 PM, Madock Chiwenda wrote:
I am trying to access employee sample bundledwith cocoon but I get the
following error:
org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate():java.lang.RuntimeException: Could not get
the datasource
Hi,
I'm trying the simplest xsp page ever to test it on the coccon 2.1-dev;
it consists of an xsp page and an xsl page for display. In the file
sitemap.xmap I put this:
map:match pattern=xsp/*
map:generate type=serverpages src=xsp/{1}.xsp/
map:transform src=stylesheets/hello.xsl/
don't define anything,
just use #xA0; directly
Jan
Jan Uyttenhove
Software Engineer
The E-corporation
-Original Message-
From: Drasko Kokic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 10:40
To: [EMAIL PROTECTED]
Subject: RE: the problem of nbsp
Thanks for your help
Hi All,
I got it finally working. The directive
JkMount /cocoon/* ajp12
did it. I apparently kept on missing that part, since this was not
required for tomcat-apache-cocoon1, where always, it seems, .xml was
employed to redirect xml request to cocoon1.
I would support the suggestion of Luca
Andre,
Can you re-post the complete instructions in the form of a FAQ? I will check it in.
Thanks,
dims
--- Andre Juffer [EMAIL PROTECTED] wrote:
Hi All,
I got it finally working. The directive
JkMount /cocoon/* ajp12
did it. I apparently kept on missing that part, since this was not
Hi,
Unfortunately, this version of Cocoon does not come with samples
folder that explains how to use this new version. It came to me that
it follows a complete different architecture from the 1.x versions that
you can't simply figure out. So I wonder if there is any article or
tutorial
Arnaud,
Try the latest Code from CVS.
- Made the encoding attribute optional.
- Fixed relative path problem. (if you specify just data.txt it will look under
cocoon directory
for it).
Note that the IOException is thrown by design. The LogicSheet should not hide this
exception.
Thanks,
dims
Vince,
I am running the same set up as you. I have other problems, but Cocoon is
probably running on your machine. You just need to point to your Apache port
(80) on most set ups. You will get the type=text/wml or type=text/xml if
you have your browser pointing to the Tomcat port.
Ex.
I have
I could import cocoon.war file in to silver stream server and on restarting
server it tries to open war file where it fails.
The error message from Cocoon is:
(It seems like it is trying to open war file and put it in directory
/MSSQLSERVER/NEDSS . Is sysntex correct for this (the ! mark)? )
Any
We are migrating text data from a legacy system to one which uses Cocoon for
presentation. In some cases the legacy data contain line breaks, which we
wish to reproduce on the new system. The easiest way to do this appears to
be to embed br in the data where the line breaks should occur. These
Yes, it works here as well, with ajp13. The difference is changing this
line:
JkMount /cocoon/*.xml ajp13
to:
JkMount /cocoon/* ajp13
I've noticed a variety of other directives in the snips here and on the
tomcat list, but this is the one that got C2 working. I suppose the
distinction is
I took a look at the XSP processing code to see if I
could figure out why XSPs which compile cannot be run
due to NoClassDefFoundExceptions. Here is what I
found. (I am running Cocoon 1.8.2, so line numbers
correspond to that version of the sourcecode.)
Beginning in line 228 of
Hi folks-
I was wondering if anyone has experienced an FP taglib symptom similar to
this:
I have a file that using XSP takes some form data, does some calculations,
and then returns HTML or PDF using the xsp:pi
target=xml-stylesheethref=xsp:exprstylesheet/xsp:expr
type=text/xsl/xsp:pi method of
Davanum Srinivas wrote:
Andre,
Can you re-post the complete instructions in the form of a FAQ? I will check it in.
Yes, I'll see to it and send something in within the next day or so.
Cheers,
Andre
Thanks,
dims
--- Andre Juffer [EMAIL PROTECTED] wrote:
Hi All,
I got it
We are thinking about using FOP to produce large PDF reports that will be
served (possibly through cocoon) to web clients. However, the PDF files
that FOP produces are not optimized. So, the reader client will have to
download the entire PDF file before viewing the first page. If the PDFs
were
I've written an XSP so that it will set the HTTP
content type header to text/my-special-xml by using
response.setContentType() method. After the XSP
processing, it will use a XSL stylesheet to do the
transformation. However, it is found that the content
type is changed to text/xml. It seems that
Hi!
I already posted these questions once to [EMAIL PROTECTED], but I
have not got any answers yet. Since I am running out of time now, I repost my
questions again. I hope somebody can help me.
I am using Cocoon 2, and I have the following problems:
Question 1:
In my xsl-file I have
41 matches
Mail list logo