RE: How to have prompt for download?

2001-10-04 Thread Hewko, Doug
: Hewko, Doug [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 8:18 PM Subject: How to have prompt for download? How would you set up Cocoon2 to download a file instead of opening an application for it? In my sitemap.xml, I have some word documents defined

How to have prompt for download?

2001-10-03 Thread Hewko, Doug
How would you set up Cocoon2 to download a file instead of opening an application for it? In my sitemap.xml, I have some word documents defined as follows so I can put them all in one physical path. map:match pattern=_documents/**.doc map:read src=xmldocs/{1}.doc

RE: ide recommendations?

2001-10-02 Thread Hewko, Doug
I tried Xcelerator but it doesn't work. It needs MSXML3, which uses outdated specificiations and I am using MSXML4. -Original Message- From: Liam Morley [mailto:[EMAIL PROTECTED]] Sent: October 2, 2001 9:55 AM To: [EMAIL PROTECTED] Subject: RE: ide recommendations? Apparently

Unable to pass a parameter

2001-10-02 Thread Hewko, Doug
Can someone please help me pass a parameter to a XSL stylesheet? I have been trying without luck and do not know why this will not work with Cocoon2. I've been told it should be possible, but no luck and I can't find anything in the archives to help me. I know that this is a Cocoon2 problem

RE: Why doesn't Cocoon2 recognize [position() lt; last()] ??

2001-08-16 Thread Hewko, Doug
it is I'm sure we can accomodate it...? If you look in the /lib directory you'll find all the jar files Cocoon relies on to work. If you want more details find the document 'jars' (xml in cvs, html when built, available on the website). J. -Original Message- From: Hewko, Doug [mailto:[EMAIL

Why doesn't Cocoon2 recognize [position() lt; last()] ??

2001-08-13 Thread Hewko, Doug
Hi! I have an XSL stylesheet that I typed from a tutorial and it would not work under Cocoon2. Yet, it worked fine when I used MSXML4. (Thus, the only difference between Cocoon and MS is the parser.) If requested, I can attach the entire stylesheet and XML documents, but the offending template

RE: Why doesn't Cocoon2 recognize [position() lt; last()] ??

2001-08-13 Thread Hewko, Doug
/xsl:template Stefan -Ursprüngliche Nachricht- Von: Hewko, Doug [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 13. August 2001 14:01 An: '[EMAIL PROTECTED]'; cib Betreff: Why doesn't Cocoon2 recognize [position() lt; last()] ?? Hi! I have an XSL stylesheet that I typed from

RE: Problems with Cocoon2 b2

2001-08-08 Thread Hewko, Doug
Did you set your classpath=c:\xerces\xerces.jar;c:\jdk1.3.1\lib\tools.jar and JAVA_HOME=c:\jdk1.3.1? I ended up using the j2sdk-1_3_1-win.exe file. I could not get cocoon2 to work from just JDK 1.3.1 myself... Hope this helps. -Original Message- From: Pedro Pastor [mailto:[EMAIL

RE: Problems when installing Cocoon with Tomcat 3.1

2001-08-08 Thread Hewko, Doug
Someone should create a FAQ for this... Did you install JSWDK (http://java.sun.com/products/jsp/archive.html)? Did you set your JAVA_HOME path to your JDK 1.3.1? (ie: c:\jdk1.3.1) Did you set up your CLASSPATH (c:\xerces\xerces.jar;c:\jdk1.3.1\lib\tools.jar)? Are you using Tomcat? (Web server?)

RE: Cocoon2 changing links on me....

2001-08-03 Thread Hewko, Doug
.gc.ca/xsl:text /xsl:attribute Vadim -----Original Message-From: Hewko, Doug [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 02, 2001 9:04 AMTo: '[EMAIL PROTECTED]'Subject: Cocoon2 changing links on me Why do I get http://localhost/cocoon/%0D%0A%09%09mailto:[EMAIL PROTECTED

RE: relative links

2001-08-03 Thread Hewko, Doug
Yes you can. I defined my Cocoon2 settings to take _images as a relative link, which I place in my tomcat\webapps\cocoon\xmlimages directory. The images/**.gif definition is there by default. In the sitemap.xmap file, look for the following: map:match pattern=images/**.gif map:read

RE: beginner

2001-08-01 Thread Hewko, Doug
Hi! I just installed Cocoon2 myself. Modify the sitemap in your \tomcat\webapps\cocoon directory. I never changed the cocoon.xconf, so I do not know what it does, but there's one in the same directory. The stylesheets are in the stylesheets directory (from tomcat\webapps\cocoon) , but after

Strange error messages...

2001-08-01 Thread Hewko, Doug
I am receiving an error from Cocoon2 that I do not know. Is there a central repository that can help me interpret the error messages? The error I have is: org.xml.sax.SAXParseException: The encoding declaration is required in the text declaration.

RE: tomcat crash with cocoon 2

2001-08-01 Thread Hewko, Doug
I had to use JSDWK from URL is: http://java.sun.com/products/jsp/archive.html -Original Message- From: Christophe Frey [mailto:[EMAIL PROTECTED]] Sent: August 1, 2001 3:37 PM To: [EMAIL PROTECTED] Subject: tomcat crash with cocoon 2 I've install a new version of tomcat 3.2.2 and set it

RE: Trouble getting Cocoon2 to work...

2001-07-30 Thread Hewko, Doug
Dave Smith, John Peters, Java Guru, et al., Thanks for your help! I eventally got Cocoon to work. Seems like I had the wrong JDK specified. - Please check that your question has not already been answered in the FAQ before

How to program for Cocoon2?

2001-07-30 Thread Hewko, Doug
I am eager to get started programming server-side XML in Cocoon2. First, is there a document that says where I can place my own code to run them in Cocoon2? Where are the samples files located? I am looking at the samples, and found http://localhost:8080/cocoon/hello.svg;. Yet, there is no

Problems running Cocoon2

2001-07-27 Thread Hewko, Doug
Help! I am trying to get Cocoon2 to work and am getting the following error: ** START OF ERROR MESSAGE *** type internal-servlet-error message Internal servlet error description Cocoon was not initialized. sender

RE: Problems running Cocoon2

2001-07-27 Thread Hewko, Doug
10:36 AM To: [EMAIL PROTECTED] Subject: Re: Problems running Cocoon2 The Xerces library is not being loaded correctly. Please refer to http://xml.apache.org/cocoon2/faq.html#faq-9 for further info. Jon - Original Message - From: Hewko, Doug [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Help : Taking the plunge - cocoon

2001-07-26 Thread Hewko, Doug
In order to develop XML in a W3C compliant environment, I've decided to abandon my IE5 client-side development and try COCOON. Does anyone know of good resources where I can get help on getting COCOON to work? I've downloaded the product, and unarchived it. The instructions say I need a Java