Re: Inserting XML Strings

2002-11-26 Thread Anna Afonchenko
Hi Ludovic. You were right. The file wasn't valid XML file. Can you please tell me where I can find the list of all util:tags? I can't find the complete list anywhere. Thanks for your help. Anna - Original Message - From: Ludovic de Beaurepaire [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Inserting XML Strings

2002-11-26 Thread Ludovic de Beaurepaire
Hi Anna, http://xml.apache.org/cocoon/apidocs/index.html, you will find here the XSPUtil class apidoc (util:include-exprutil:exprxsp:exprdata/xsp:expr/util:expr/util:i nclude-expr generate XSPUtil.includeString(data)). I don't find the list of tags. But the solution should be storing valid XML

output XML

2002-11-26 Thread Shaw, Chris
Hi, Simple question (I hope!) Is it possible to have a generator that opens an XML file and outputs it quite simply 'as is' ? I have such a thing written at the moment but when I use contentHandler.characters(..) then all the XML tags get escaped into lt; and gt; tags! Thanks (in advance)

Serializing XML data to Excel format

2002-11-26 Thread nandipinto
Hi all, How do I serialize XML data into Excel format using the Cocoon API directly? Thanks for your help. regards, nandipinto. - Please check that your question has not already been answered in the FAQ before posting.

RE: Serializing XML data to Excel format

2002-11-26 Thread Shaw, Chris
Hi, Take a look at: http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html Works quite well. Chris -=-=-= -Original Message- From: nandipinto [mailto:[EMAIL PROTECTED]] Sent: Tuesday 26 November 2002 10:15 To: [EMAIL PROTECTED] Subject: Serializing XML data to Excel

Re: Serializing XML data to Excel format

2002-11-26 Thread nandipinto
Hi Chris, I've check this one, but what I need to know is how to use the API (java class) directly in the my java program. I know there is one java class called HSSFSerializer, but it only has the method : setOutputStream(java.io.OutputStream), how do I set the input stream (which I think is the

AW: output XML

2002-11-26 Thread Scherler, Thorsten
Helo Chris, try snipIs it possible to have a generator that opens an XML file and outputs it quite simply 'as is' ? /snip map:match pattern=*.xml map:read src=*.xml/ /map:match or with XSP !-- === XSP -- map:match pattern=xsp.xml

Hi

2002-11-26 Thread Kavitha Ramesh
Hi Jelle, Thanks for your valuable information.I tried using different stylesheets for IE and Netscape in my pipeline.But I feel this is not a good solution.Is there something which I could do with serializers.(ie., xhtml serializer or so,,,Iam not sure).Please suggest me.Looking forward to

RE: output XML

2002-11-26 Thread Shaw, Chris
Thanks for the reply. Unfortunately, there are 2 problems. First, the name of the xml file is not known, so the generator has to go figure it out, open it and the output it. The second problem is that I need to wrap it with other XML tags Any other thoughts? Thanks Chris -=-=-= -Original

RE: Serializing XML data to Excel format

2002-11-26 Thread Shaw, Chris
Sorry, Not 100% sure what you want to achieve. You want to physically open and read an XML file in, say, a Generator and then output it as an Excel file? I apologise, I mis-read your original mail, I don't use the API I just do the following: map:serializer name=xls

Re: output XML

2002-11-26 Thread Bertrand Delacretaz
On Tuesday 26 November 2002 10:00, Shaw, Chris wrote: . . . Is it possible to have a generator that opens an XML file and outputs it quite simply 'as is' ? . . . I'm not sure if I understand your problem, why not simply use the FileGenerator together with the XML serializer? Or the CInclude

Re: output XML

2002-11-26 Thread Ludovic de Beaurepaire
Hi, I have such a thing written at the moment but when I use contentHandler.characters(..) then all the XML tags get escaped into lt; and gt; tags! Please read the previous thread... Ludovic - Original Message - From: Shaw, Chris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

AW: output XML

2002-11-26 Thread Scherler, Thorsten
No Prob: Q: First, the name of the xml file is not known, so the generator has to go figure it out, open it and the output it. A: map:match pattern=*.xml / The * is a wildcard. Means the name is not known (variable), but as soon the extension xml is requested the match is true. Q: The second

RE: output XML

2002-11-26 Thread Shaw, Chris
Hi - thanks for the reply. I simply want to open one (or more) XML files - the names of which are not known to the sitemap (not even available client-side), the file names have to be figured out using some code. And then I want to wrap all the XML files with my own XML. For example: document

Re: output XML

2002-11-26 Thread Bertrand Delacretaz
(please use reply-to if possible when replying to mailing lists messages) On Tuesday 26 November 2002 11:04, Shaw, Chris wrote: . . . I simply want to open one (or more) XML files - the names of which are not known to the sitemap (not even available client-side), the file names have to be

Re: output XML

2002-11-26 Thread Ludovic de Beaurepaire
Sorry, The previous title is Inserting XML String, if u want to insert your XML from a XSP. Ludovic - Original Message - From: Shaw, Chris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 10:56 AM Subject: RE: output XML previous thread? sorry the previous

Invoking a Servlet

2002-11-26 Thread Kavitha Ramesh
Hi, Normally we invoke a servlet in the pipeline as follows: map:pipeline match=... map:act type=request map:parameter name=parameters value=true/ map:generate src=http://my.server.com/path/servlet{requestQuery}/ /map:act !-- rest of pipeline to process results -- /map:pipeline

RE: output XML

2002-11-26 Thread Shaw, Chris
(please use reply-to if possible when replying to mailing lists messages) ugh? I just simply replied to the mail - there were no other options, what do you mean? CInclude is not yet on my 'explored' list. But in a nuthsell you auto-generate an xml file which then lists which xml files you want

Re: output XML

2002-11-26 Thread Bertrand Delacretaz
On Tuesday 26 November 2002 11:43, Shaw, Chris wrote: . . . CInclude is not yet on my 'explored' list. But in a nuthsell you auto-generate an xml file which then lists which xml files you want to include, which is then sent back to Cocoon to process? That's it. If this is the case then I

Problem in ScriptGenerator for .js file

2002-11-26 Thread Anna Afonchenko
Hi All. It's me again :-) Thank you all for answering my previous questions. You are great! So I have another question (this one is probably stupid): I want to execute some Javascript file (some.js) through Cocoon pipeline the code ofthis some.js file is: !-- document.write('Hello

Re: Don't decode (or transform) ... - thanks!

2002-11-26 Thread Sanne de Roever
Hi Joerg, Thanks for your reply. It gave clearer understanding of special character encoding. My problem was that I have to deliver a large set of automated xml files to a client with a very shaky (knowledge of) DTD's, basically just as myself... So I thought that encoding like eacute; would be

Re: Serializing XML data to Excel format

2002-11-26 Thread Andrew C. Oliver
Use POI: jakarta.apache.org/poi specifically POI::HSSF. -Andy nandipinto wrote: Hi Chris, I've check this one, but what I need to know is how to use the API (java class) directly in the my java program. I know there is one java class called HSSFSerializer, but it only has the method :

ESQL Woes in XSP

2002-11-26 Thread Tom Place
Hi all, I was wondering if anyone could help me with the following. I am trying to put the results from a row of results directly into String variables as show below and Cocoon isn’t happy. I get a unclosed character literal compilation error. The XSP I am executing is as follows (the problem

Re: esql:group

2002-11-26 Thread Christian Haul
On 25.Nov.2002 -- 01:33 PM, Christian Joelly wrote: Hello! did anybody use more than one esql:group / esql:member with Cocoon 2.0.3 in one resultset? like this: esql:row-result esql:group group-on column1 esql:member esql:group group-on

Re: Serializing XML data to Excel format

2002-11-26 Thread Yury Mikhienko
Excuse me by jump, but I have to reask old question: Does HSSFSerializer support non-english characters now? Thanx for advise. -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - Please check that your

Re: ESQL Woes in XSP

2002-11-26 Thread Andrew Savory
Hi Tom, On Tue, 26 Nov 2002, Tom Place wrote: class1 = esql:get-string column=CLASS/; Try: class1 = esql:get-string column=CLASS/; Although you may like to check that everything else is working: I'm not sure you can have esql nested within xsp:logic, ie:

Re: ESQL Woes in XSP

2002-11-26 Thread Derek Hohls
Could you not have xsp:logic while (class1 = null) { /xsp:logic esql:connection etc / xsp:logic } /xsp:logic [EMAIL PROTECTED] 26/11/2002 03:19:34 Hi Tom,On Tue, 26 Nov 2002, Tom Place wrote: class1 = "esql:get-string column="CLASS"/";Try: class1 = esql:get-string

Re: output XML

2002-11-26 Thread Bertrand Delacretaz
On Tuesday 26 November 2002 14:36, Shaw, Chris wrote: . . . Can someone in the know point me to the 'how to write a serializer' documentation? . . . I don't think there are specific docs on this yet but you might find the following pages helpful:

Re: ESQL Woes in XSP

2002-11-26 Thread Andrew Savory
On Tue, 26 Nov 2002, Derek Hohls wrote: Could you not have xsp:logic while (class1 = null) { /xsp:logic esql:connection etc / xsp:logic } /xsp:logic I don't think so, no, for the same reason you couldn't have: xsp:logic foo /xsp:logic esql:connection etc /

Re: JavaScript problems in XSP

2002-11-26 Thread Anna Afonchenko
Hi Geoff. Thanks for helping me. If you don't mind, I want to ask you some more questions, cause I still don't really understand what I have to do. 1. I didin't find any example of xsp using Rhino. Can you give me an example, or a URL to the page with example? I am sorry, but I tried hard to find

parameters in xsp don't work

2002-11-26 Thread Robert Sösemann
I must create an dynamic variable based (from db content) cinclude path. But this doens't work. Do you know why? ... esql:results esql:row-results xsl:variable name=idesql:get-string column=i.id//xsl:variable xsl:variable name=stylesheet-pathesql:get-string

oh no not another php question!

2002-11-26 Thread conrad . crampton
ah, but this one is really simple. I don't believe I need to do anything with PHPGenerator but I hope to be advised what I need to do... Our intranet is a mixture of xml based content and php files. The xml and php have nothing to do with each other i.e. the xml doesn't get produced by

Re: parameters in xsp don't work

2002-11-26 Thread Derek Hohls
In short; the syntax inside XSP and XSL is quite different; suggest you look at the docs and the Cocoon samples to get up-to-speed on how XSP works... [EMAIL PROTECTED] 26/11/2002 04:16:20 I must create an dynamic variable based (from db content) cinclude path.But this doens't work. Do you

RE: output XML

2002-11-26 Thread Shaw, Chris
Hi, Thanks for reply. I already tried copying the XMLSerializer but it extends AbstractTextSerializer and some of the method calls are package protected - so I didn't get very far. I'll try the Wiki now.. Thanks for all the help Chris -=-=-= -Original Message- From: Bertrand

Re: Serializing XML data to Excel format

2002-11-26 Thread Andrew C. Oliver
I'll try to get to that tonight if the HEAD is in currently in working order. I'll probably upgrade things to the latest stable dev build too. -Andy Yury Mikhienko wrote: Excuse me by jump, but I have to reask old question: Does HSSFSerializer support non-english characters now? Thanx for

Re: Cocoon@Oracle 9iAS/Linux

2002-11-26 Thread Lenya L. Khachaturov
On Tue, Nov 26, 2002 at 10:00:46AM +0300, Pavel Ivanov wrote: Hi there! Hi Pavel, I'm not an OC4J guru :-) but won't putting the libraries for each application into it's own WEB-INF/lib help? I mean, do not keep xerces/xalan in Tomcat's lib directory. Question for Linux and OC4J gurus:

Re: output XML

2002-11-26 Thread Joerg Heinicke
Hello Chris, maybe it's easier than you think. In which way do you find out which files to aggregate? If it's simply searching the file system and using some files with some criteria, then the DirectoryGenerator can help you. The generated XML you can transform to a XML structure like the

Re: ESQL Woes in XSP

2002-11-26 Thread Christopher Painter-Wakefield
Not true, you definitely can wrap logic, including while statements around esql code. (Remember, it just turns into more Java code, so...) You can even extract your esql and put it into a separate function, as long as you don't have any XML output from it (you can still do it, but you have to

Re: ESQL Woes in XSP

2002-11-26 Thread Christopher Painter-Wakefield
As someone else mentioned, change class1 = esql:get-string column=CLASS/; to class1 = esql:get-string column=CLASS/; Also, you might run into trouble with ...where SELECTION = 'xsp:exprcurrentSelection/xsp:expr'/esql:query , as the XSP compiler might put the quotes and the content

Re: Something really stupid

2002-11-26 Thread Ilya A. Kriveshko
Actions are performed WHEN the pipeline is assembled. The generation and serialization happens AFTER the pipeline is assembled. So, by the time your generator starts reading the file, both actions have already fired and the file came and went. Why not have your win32 process output a file to

Re: JavaScript problems in XSP

2002-11-26 Thread Geoff Howard
--- Anna Afonchenko [EMAIL PROTECTED] wrote: Hi Geoff. Thanks for helping me. If you don't mind, I want to ask you some more questions, cause I still don't really understand what I have to do. 1. I didin't find any example of xsp using Rhino. You just need examples of java using rhino. I

Re: [SUMMARY] Tomcat 4.1.12 and IE delays up to 5 mins to response.

2002-11-26 Thread Jacob L E Blain Christen
enableLookups=false sounds like a classically misconfigured DNS on the box that your tomcat resides. it was trying to log host names but those were timing out causing poor poor response in the server. this isn't a cocoon, tomcat, or even an IE issue it's simply an artifact of a misconfigured

Re: [SUMMARY] Tomcat 4.1.12 and IE delays up to 5 mins to response.

2002-11-26 Thread Antonio Gallardo
Jacob L E Blain Christen dijo: enableLookups=false it's simply an artifact of a misconfigured network Not really, you can use WINS instaead of DNS inside your network. And that does not mean that you have missconfigured your internal network. DNS is a static file where the IP address are

Re: Problem compiling Cocoon

2002-11-26 Thread Jacob L E Blain Christen
i just recompiled from cvs and am getting the same error. i'm looking into if i can decipher where a config propery seems to be required to get my install running again. seems as if someone made some changes to the java sources but didn't check in the commensurate config changes (cvs update only

Re: [SUMMARY] Tomcat 4.1.12 and IE delays up to 5 mins to response.

2002-11-26 Thread Antonio Gallardo
Jacob L E Blain Christen dijo: Jacob L E Blain Christen dijo: enableLookups=false it's simply an artifact of a misconfigured network Not really, you can use WINS instaead of DNS inside your network. And that [snip] so again i will re-state that this issue concerns neither cocoon,

Re: Problem compiling Cocoon

2002-11-26 Thread Antonio Gallardo
I saw also some changes in Main.java. I am working on the yesterday CVS 2.1 and there eerything work fine. I will try the lastest CVS today. Regards, Antonio Gallardo Jacob L E Blain Christen dijo: i just recompiled from cvs and am getting the same error. i'm looking into if i can decipher

Re: Javascript problems in XSP

2002-11-26 Thread Jacob L E Blain Christen
hey that's neat! - 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,

RE: Something really stupid

2002-11-26 Thread ouzo
From: Ilya A. Kriveshko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 6:09 PM To: [EMAIL PROTECTED] Subject: Re: Something really stupid Actions are performed WHEN the pipeline is assembled. The generation and serialization happens AFTER the pipeline is assembled. So, by the

Cocoon DB Pool

2002-11-26 Thread Daniel G. Pamintuan II
Hello, Is there a way to access Cocoon's Database Pool in JSP? Have anyone tried it already? Thanks a lot! Daniel - Please check that your question has not already been answered in the FAQ before posting.

xsp !!!

2002-11-26 Thread Hong Gia Dinh
Hi all I got a problem and tried to solve it! i want to have a common 'common.xsp' file containing all the common values and i have other personal files that uses all the common values! so how can i use it ?? can i include/import a xsp file in oter xsp file? i tried to use aggregate but

Re: WebServiceProxy Hell

2002-11-26 Thread Ivelin Ivanov
Tony, I don't see anything wrong with your sample other than the fact that your XML output doesn't have a new line after the xml header: ?xml version=1.0 My only suggestion at this point it to debug the WSPG and find out what URL it is trying to access. It should exlpain why your servlet is

Re: Cocoon@Oracle 9iAS/Linux

2002-11-26 Thread Pavel Ivanov
Steven, In Windows it's simple. You have to find start script and slightly rewrite it in a manner: 1) java -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Dorg.xml.sax.driver=oracle.xml.parser.! v2.SAXParser -jar oc4j.jar or 2) java

Re: Cocoon@Oracle 9iAS/Linux

2002-11-26 Thread Pavel Ivanov
Lenya, Certainly, you aren't guru :). Of course all libraries already are in WEB-INF/lib ... You should read my post more carefull. Pavel - Original Message - From: Lenya L. Khachaturov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 7:04 PM Subject: Re:

Re: Something really stupid

2002-11-26 Thread Leszek Gawron
On Tue, Nov 26, 2002 at 07:15:30PM -0800, Steven Punte wrote: A cleaner bridge, if possible, would be to have your existing application output it's contents over HTTP as either just text or preferrable XML. If XML, then just a pipelien with the XML Generator and you got it all: no temporary

Re: Javascript problems in XSP

2002-11-26 Thread Anna Afonchenko
What do you mean by neat? Sorry if this is an unrelated question - Original Message - From: Jacob L E Blain Christen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 10:23 PM Subject: Re: Javascript problems in XSP hey that's neat!

Re: Problem compiling Cocoon

2002-11-26 Thread Anna Afonchenko
Do you mean that I need to download another version of CVS (say, from today)? I also want to do a few changes to the source code before recompiling (I want to add some Jtidy methods to HTMLGenerator - is it OK to do that?) - Original Message - From: Antonio Gallardo [EMAIL PROTECTED] To:

Re: Problem compiling Cocoon

2002-11-26 Thread Bertrand Delacretaz
On Wednesday 27 November 2002 08:20, Anna Afonchenko wrote: . . . I also want to do a few changes to the source code before recompiling (I want to add some Jtidy methods to HTMLGenerator - is it OK to do that?) . . . You should first make sure that the code compiles without your changes -

Re: Problem compiling Cocoon

2002-11-26 Thread Antonio Gallardo
Hi! I recently download the C2.1 CVS and everything is compiling and working fine. I am using Red Hat Linux 8.0, Java 1.4.1_01, Tomcat 4.1.15 (alpha). Please try to download again and before make changes, try to build the CVS version first. I prefer to build two times. I dont know if still

Re: Problem compiling Cocoon

2002-11-26 Thread Anna Afonchenko
Thank you for your help. I am downloading CVS now. I will try to compile it twice as you said. Only one very stupid question: How can I update the CVS in xml-cocoon2 directory instead of downloading the new CVS files every time from scratch? This must be very simple, but I can't figure it out. I