Re: Does apply-imports work?

2002-11-19 Thread Phil Blake
map:transform src=psi.xsl type=xalan/ Does this solve your problem? Yes it does. I missed the move of transformers. Thanks for pointing it out. It is working with xalan and not with xsltc. Do you know if apply-templates is yet-to-be-implemented? ...or why it isn't working? Just asking -

Re: Does apply-imports work?

2002-11-18 Thread Phil Blake
xsl:template> However, the apply-imports on the second stylesheet does not appear to work - ie. the matcher in the imported sheet is not called. Have I done something obviously silly? Thanks again, Phil On Tuesday, November 19, 2002, at 04:58 AM, Joerg Heinicke wrote: Phil Blake wrote: Hi all,

Does apply-imports work?

2002-11-17 Thread Phil Blake
Hi all, I'm having a problem with apply-imports applying any imports. Can someone in-the-know assure me that apply-imports is functional? Also, if there is any trick to using it as I haven't seen it work yet and I think I've got a pretty simple example. Thanks in advance, Phil

Re: sitemap substitution in actions

2002-09-09 Thread Phil Blake
a nice day, Babs -- website: www.babsfrance.fr.st ICQ #: 135868405 - Original Message - From: Phil Blake [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 09, 2002 7:17 AM Subject: sitemap substitution in actions I have a directory with common resources like images

sitemap substitution in actions

2002-09-08 Thread Phil Blake
I have a directory with common resources like images and pdfs thyat are used by all sections of the site. I also have other directories with resources that are specific to a certain part of the site. So... If the url points to a specific resource, and it doesn't exist then it returns the

Converting a TREE FRAGMENT to a node-set()

2002-09-02 Thread Phil Blake
Hiya, How can I work on a RTREEFRAG as if it was a node-set, or how can I convert a RTREEFRAG to a node-set? Is there a node-set() available out of the box with Cocoon? What is the recommended way of achieving this? Thanks for your time, Phil

Link Livesites:

2002-08-19 Thread Phil Blake
Hi, I just wanted to add a site I have been working on to the live sites list. ValMorgan is an international cinema advertising company with their head office in Australia. I have developed their site in cocoon2 and they are currently updating all their international content to be served

Attachments in sendmail

2002-05-29 Thread Phil Blake
Hi all, I have a form on a web page that has an email address and a file upload. The idea is to enter the email address, select the file to upload, and cocoon uses it's sendmail logicsheet to email the file to the address. It all works well up until the file upload - attachment bit. How do

Re: pls confirm: cocoon won't work on OSX

2002-05-29 Thread Phil Blake
There shouldn't be a problem with the batik libs - they seem to work fine on OSX. On Thursday, May 30, 2002, at 01:07 AM, Joseph Jupin wrote: currently have Tomcat 4.0.1 and Cocoon 2.0 running on Mac OS X 10.1.4... just make sure you remove all the batik stuff and you should be golden...

Re: pls confirm: cocoon won't work on OSX

2002-05-29 Thread Phil Blake
There was a problem with tomcat 4.0.2 and cocoon 2.x but all others should work out-of-the-box. There's no need to remove batik stuff - it works fine under OSX. Hopefully this mail will take care of this for other OS X newbie users. Typing OS X into the archive serach engine doesn't do

Testimonials

2002-05-01 Thread Phil Blake
Hi all, Does anyone know if there are Cocoon testimonials from happy users published anywhere? I am speaking on cocoon amongst other things at a series of conferences in June and would like to give people a cocoon handout page with the URL, some basic info, and some testimonials. Are there

Serving PDF's

2002-03-19 Thread Phil Blake
Hi all, I want to serve PDF's - nothing special, no generation or transformation - simply returning an existing pdf from a request. So... I added the following to my sitemap: map:match pattern=**pdf/**.pdf map:read src=resources/pdf/{2}.pdf mime-type=application/pdf/ /map:match

Selecting nodes based on variables

2002-01-30 Thread Phil Blake
Hi everyone, 1. I have a simple xml doc: root thing titleJelly/title wobblynesshigh/wobblyness /thing thing titleBrick/title wobblynesslow/wobblyness /thing /root 2. Within a stylesheet I have a

Conditionally adding anchors

2002-01-30 Thread Phil Blake
Hi again, I solved the previous problem - the code to make it work is in this post. A quickie, I hope :) The following XSL generates the error: org.apache.cocoon.ProcessingException: Error in creating Transform Handler: org.xml.sax.SAXParseException: The element type a must be terminated by

locating logicsheets with the resource scheme

2002-01-14 Thread Phil Blake
Hi All, I am wanting to refer to a logicsheet using the resource:// scheme. I have placed my logic sheet in WEB-INF/classes/logicSheet/logicTest.xsl then I refer to it with: resource://logicSheet/logicText.xsl but I get resource not found. Am I on the right path, or have I missed

FAQ - How do I hide cocoon in the URL

2001-12-11 Thread Phil Blake
I wish to hide part of the URL from the user. I noticed on the cocoon web site there is a FAQ with the title: How do i hide cocoon in the URL's once i integrate using mod_jk as shown above? FYI: The example in the cocoon FAQ doesn't so much hide anything in the URL, rather presents the full

Re: FAQ - How do I hide cocoon in the URL

2001-12-11 Thread Phil Blake
Hi, Thanks for your reply. I'll try to clarify what I mean. When the user enters http://www.place.com/; into the browser the page that is returned is http://www.place.com:8080/cocoon/mount/MyWebSite/;. This is very easy to achieve with a redirect but then the user will have the URL

[URGENT-HELP NEEDED] Stupidity stifles deployment attempt

2001-12-10 Thread Phil Blake
Hi all, Another attempt to deploy has failed and I have to chalk it up to stupidity - although I've seen (perhaps 20) different methods and configurations to get cocoon+tomcat+apache working together, I have proved too stupid to make ANY of them work. I REALLY need someone who has

Help needed Passing Parameters

2001-10-25 Thread Phil Blake
I am missing something when it comes to getting and passing request arguments. I've looked at the cocoon examples, and although my test example appears to match the cocoon one in every way there is obviously something fundamental missing. I think I'm pretty close. :) If anyone could help me

Re: Fastest Platform (softwarewise)?

2001-10-22 Thread Phil Blake
Hi, We run apache/tomcat/cocoon on 3 server platforms, Linux, AIX and MacOS X. Linux on a dual PIII 550, OSX on a PPC-G4 450 and AIX on a 4x250MHz PPC-G3. Bang for buck, a G4 running OSX wins hands down. However, believe it or not, the dual PIII comes in second (AIX don't come close... too

java.lang.InternalError: jzentry == 0

2001-10-21 Thread Phil Blake
Hi everyone, What causes cocoon to stop starting up and generate the following error? This happened to me before and seemed to 'fix itself' when I threw away the tomcat work directory. However, this time it isn't helping. :) Has anyone seen this and know what's going on? Thanks. Have fun,

SVG, JPEG, PNG and Xvfb

2001-10-19 Thread Phil Blake
Hi all, I'm making an attempt to get SVG's working. My understanding is that svg2jpeg and svg2png currently has a dependency on Xvfb. I'm running MacOS X so I installed Xfree86, including Xvfb and used the script submitted by someone on the list: if [ "$1" = "stop" ] ; then # kill off any

getNextStepPos huh?!?

2001-10-18 Thread Phil Blake
org.apache.cocoon.ProcessingException: Error in creating Transform Handler: java.lang.RuntimeException: Programmer's assertion in getNextStepPos: unknown stepType: -1 Does anyone know what this means? ...or rather when you get an error like this, what kind of things could have you done

JPEG and PNG examples

2001-10-18 Thread Phil Blake
Hi all, Can anyone provide an example of a working svg2jpeg and/or svg2png transformation? I have what looks right, cocoon isn't giving any errors. but nothing useful is arriving at the client. No examples included with cocoon but I'm hoping that someone would have tried this by now.

C2rc1 and MacOS X - build problem

2001-09-26 Thread Phil Blake
Building under MacOS X 10.0.4 gives the following error: prepare-src-22-maybeupload: Could not find file /Users/phil/Documents//Cocoon-2.0/src/org/apache/cocoon/environment/http/RequestWrapperMaybeUpload22. java to copy. BUILD FAILED /Users/phil/Documents//Cocoon-2.0/build.xml:341: Could not

New to C2 Question

2001-09-09 Thread Phil Blake
Hi, I've just installed C2 on Tomcat 4.0b7 and so far so good. I then duplicated the /sub directory (to make a new sub site) and renamed it 'test'. I copied and pasted the /sub matcher in the main sitemap.xconf and changed the "sub" to "test" for the new sub site. ie. I had a duplicate of the