Hello~! I have a small problem that's driving me nuts Im wondering if
anyone knows the answer to. In my sitemap, I have a pipeline (let's call it
pipeline REF) with a serverpages generator that uses the cocoon: src
attribute to reference a different pipeline (let's call it pipeline SRC)
is it
nice to be Microsoft-free, but Cocoon's framework is unparalleled in it's
power and manageability. Here they are, check them out:
http://www.boonetakeout.com
http://www.orderupdelivery.com
http://www.datadreamers.com
Thanks,
Ryan Agler
Hello,
Just wondering if this is a bug or I'm just missing something obvious:
I have several places in my sitemap where there are multiple
transformations taking place
(generate--transform--transform--serialize), and have experienced
random map:handle-errors behavior when exceptions would
If you're using Xalan, there is an XSLT extension that will let you do
this. You could embed the code to save changes in the same XSL file you
use for presentation, depending on a request parameter.
map:generate src=docs/yourXMLfile.xml/
map:transform src=stylesheets/xalanStylesheet.xsl
There are lots of different ways to achieve that effect with
map:aggregate and im sure some tag libraries I have yet to explore :)
Or you can do this in an XML file:
?xml version=1.0?
!DOCTYPE include [!ENTITY theInc SYSTEM ../docs/blahblah.xml]
doc
theInc;
/doc
-Original Message-
From:
/principal.xml/
/map:aggregate
map:serialize type=xml/
/map:match
Thank you very much
- Original Message -
From: Ryan Agler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 18, 2002 11:46 AM
Subject: RE: XML include
There are lots of different
X-Emacs has some great XML editing modes. It's free.
-Original Message-
From: Jessica Niewint [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 5:04 AM
To: [EMAIL PROTECTED]
Subject: tool xml/xsl ???
Could someone give an advice for a xml-tool ? Or a xsl wysiwyg
,
Ryan Agler
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I experienced similar behavior awhile back. I did some fiddling, and
finally came to the conclusion that it had something to do with Tomcat's
Coyote connector. I commented out the Coyote connector in server.xml,
and used the old HTTP/1.1 test connector, and the problem went away. I
went so far
I am not sure how to alter request parameters, but I do know you can
set/change request attributes. So, If you had an action with a
statement like request.setAttribute(myAtt,10), and then you could
call request.getAttribute(myAtt) from subsequent actions or xsp.
-Original Message-
From:
,
-
Luca Morandini
GIS Consultant
[EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-
-Original Message-
From: Ryan Agler [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 05
Is anyone aware of this as a bug, or am I doing something improperly?
Whenever I have an instance in my sitemap where I use both an input
module and a sitemap parameter, cocoon breaks if I subsequently modify
the sitemap. For example, I have the following in my sitemap:
map:match pattern=*.gif
Best guess is that something is wrong with the xsp. Can you post your
log file?
-Original Message-
From: Roger Ting [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 11:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon FAILS in transforming XML
I am using the latest binary
Try {../process} instead of {process}
-Original Message-
From: Robin Wyles [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 3:04 AM
To: [EMAIL PROTECTED]
Subject: Passing parameters to action-set
Hi All,
Apologies if this has been answered before, I can't find it in the
I am successfully using JDK1.4.0 with the recent
mysql-connector-j-3.0.0-bin.jar. Visit
http://www.mysql.com/downloads/api-jdbc-dev.html According to that page
it works with JDK-1.2 or newer.
-Original Message-
From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October
My apologies as I'm having trouble following sitemap flow from your
description. You can find most likely the root cause in the
WEB-INF/logs. A couple things that might help:
Make sure you have include type=serverpages when generating the xsp
(map:generate type=serverpages src=myfile.xsp/).
I haven't tried this, but its worth a shot:
i18n:text i18n:key=EL50Ihre Login-Angaben waren
zwei Mal falsch. Bitte beachten Sie, dass Ihr Konto nach dem dritten
Fehleintrag gesperrt wird.\n Falls Sie Ihr Passwort vergessen haben,
können Sie es sich per E-Mail zuschicken lassen. Mxsl:text
In my experience the request parameters seem to be preserved. I am
using the interpreted sitemap (not sure if that makes a difference) and
have several places in my sitemap where I am certain they are working.
For example:
map:match pattern=*.xsp
map:generate type=serverpages
Good question -- I have not tried that scenario. As a workaround,
instead of extracting request parameters from a stylesheet, you could
something like this in the xsp
fooxsp:exprrequest.getParameter(foo)/xsp:expr/foo
barxsp:exprrequest.getParameter(bar)/xsp:expr/bar
and use XSLT to get the
I had this problem too, and had to write a custom java class to do this
inside XSLT, but it works.
?xml version=1.0?
xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
version=1.0 xmlns:java=http://xml.apache.org/xslt/java;
exclude-result-prefixes=java
xsl:template match=/
-topic:XSLT] Passing an XML fragment via a HTML form.
Hi,
Can you simply do:
input name=txtNode
xsl:attribute name=value
xsl:copy-of select=/page/thing/
/xsl:attribute
/input
or perhaps:
textarea
xsl:copy-of select=/page/thing/
/textarea
best,
-Rob
-Original Message-
From: Ryan Agler
Anyone know how to make Cocoon return a last-modified header when
reading xml files from disk? I found some mention of adding an
expires attribute to map:pipeline, but what I really need is to
return last-modified for the files I'm reading. Any Ideas?
Thanks,
Ryan Agler
Awesome, right down the street. I'll be there :)
-Original Message-
From: Andrew C. Oliver [mailto:acoliver;apache.org]
Sent: Sunday, October 20, 2002 11:40 PM
To: cocoon users; [EMAIL PROTECTED]
Cc: poi users
Subject: [Fwd: [Juglist] Monday night - Introduction to Cocoon 2.0]
I played around with fo for the first time yesterday and ran into the
same thing. Turns out if I enclosed everything after fo:flow
flow-name=xsl-region-body with an fo:block, and then also enclosed
anything within an fo:cell with fo:block things worked out fine.
-Original Message-
Yes, I use that exact same technique (hidden textareas). To get the
parameter back as XML, I wrote an XSP that grabs the request parameter
XML string, turns it into a DOM document, and then iterates through the
DOM nodes to emit corresponding SAX events. Now my Java isn't the best
in the world,
If you set up your sitemap right, you can pull this off (well, most of
it, not sure how you would do borders). First, you want to create
pipelines for the images you want to create:
map:match pattern=*.dynamic.jpeg
map:generate type=serverpages src=svgData/{1}.xsp /
map:transform
Not a full-blown solution, but you can encode a web page with tags in
the Excel namespace xmlns:x=urn:schemas-microsoft-com:office:excel
and, use formulas etc in html table cells:
td style=width:0pt x:fmla==COUNT(A4:A9) width=0 class=x868
span style=mso-spacerun: yes/
/td
Try saving an .xls
One thing that comes to mind is the different ways Unix and Windows
insert line breaks. I sometimes author XSLT text files in Windows, and
after opening them in Linux (X-Emacs) there are a bunch of ^M characters
at the end of each line. I replace them just because they are annoying
and make the
In your XSLT file, right under xsl:stylesheet, include:
xsl:output omit-xml-declaration=yes method=text /
-Original Message-
From: Oskar Casquero [mailto:jtacaoio;bi.ehu.es]
Sent: Tuesday, November 05, 2002 11:31 AM
To: [EMAIL PROTECTED]
Subject: xml version procesing instruction and
Hi Anna,
Client-side (in your web browser) JavaScript is a completely different
beast than server-side (on your web server) JavaScript. In server-side
JavaScript, there are no windows, DHTML, or much any other properties or
methods you would use to manipulate a browser for dynamic content.
To
No need to redirect, your problems can be solved with the AliasMatch
directive in httpd.conf:
AliasMatch ^(.*)/([^/]+\.gif)$ /path/to/images/$2
AliasMatch ^(.*)/([^/]+\.css)$ /path/to/css/$2
The above will match any .gif or .ccs, both legacy and cocoon, and serve
them from the same location.
31 matches
Mail list logo