Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 73072 invoked from network); 30 Jun 2000 04:04:28 -0000 Received: from f277.law8.hotmail.com (HELO hotmail.com) (216.33.240.152) by locus.apache.org with SMTP; 30 Jun 2000 04:04:28 -0000 Received: (qmail 80064 invoked by uid 0); 30 Jun 2000 04:04:01 -0000 Message-ID: <20000630040401.80063.qmail@hotmail.com> Received: from 161.142.2.10 by www.hotmail.com with HTTP; Thu, 29 Jun 2000 21:04:00 PDT X-Originating-IP: [161.142.2.10] From: "mie zie" To: cocoon-users@xml.apache.org Subject: HELP!!! : XML->HTML, XML->PDF, XML->WML Date: Fri, 30 Jun 2000 04:04:00 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I'm having trouble to transform XML -> HTML, XML ->PDF and XML ->WML First, I've installed Cocoon and after building it with command 'build.sh', I got 'classes', 'src' and 'cocoon.jar' created When I wanted to generate 'docs' and 'javadocs' under build directory I got an error related to classpath and I ignored it since I believed that those 2 directories are not too important. (is it true?) Then I began to copy cocoon.properties (from $cocoon_home/conf/ to $tomcat_home/conf/) and edited my web.xml. Unfortunately, when I edited $tomcat_home/conf/web.xml I got errors displayed on my browser. So, I decided not to modify it and finally I got HTML transformed from XML (without making any changes to my $tomcat_home/conf/web.xml) I wondered why I still got HTML without changing my web.xml Q: So, I would like to know which web.xml do I need to edit (add configuration for cocoon to engine configuration) I don't see that my cocoon important in this part because I still can transform my XML to HTML without cocoon. Is it just adding to my XML document, means I used cocoon? Is it I need to edit my web.xml, so I can see the diferrences how important the cocoon is? Please correct me about cocoon! Then I decided to transform XML -> PDF I've downloaded Acrobat Reader for linux version and I got it run. So, I modified my contents.xml by adding to my xml document Then, to view it, I just typing the URL to my web browser?. Okay, if this it true, how to set up plug in to my Acrobat reader? I've read it from www.oreilly.com/catalog/javaxml (chapter 9) that I need to have both acrobat and plug-in in order to transform XML -> PDF What is the proper way to view my PDF (transform from XML) Lastly, I want to transform XML->WML Okay, for this one, I've downloaded UP Simulator and installed it to my pc (using Windows 95). When I want to view my wml file (form Windows 95), I got the output, but when I want to view it from my web server (typing URL), I got error (Phone information console) HTTP GET Requested: HTTP://mywebbrowser.com:8080/wap/example-portfolio.xml -----------------------------------------------------DATA SIZE ----------------------------------------------------- Uncompiled data from HTTP is 1794 bytes. .....found Content-Type: text /plain Content-type: text/plain. Content follows: .. .. .. .. End Content-Type: text/plain No translator for content-type: text/plain Q: how to configure the content-type?. The type for my XML document is type="text/wml" So, I curious why it still displayed content-type=text-plain Please help me for this one. Thanks in advance. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com