Pass parameter to a transformer

2003-06-23 Thread Anna Afonchenko
Hi all. I have written my own transformer, that gets in an XML file as a parameter. If I declare the parameter in the transformers bit:         and then call it in the pipeline:   it works fine. But I wnat to pass the XMLfile name dynamically, and not when I declare the transformer, e.g.,

Re: Problem with 'request parameters'

2003-03-12 Thread Anna Afonchenko
Thank you Michael. Actually, I just need to write {../1}{requestQuery} instead of {1}{requestQuery} Thanks for your help. Anna - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 4:18 PM Subject: Re: Problem with 'request parameters'

Problem with "request parameters"

2003-03-12 Thread Anna Afonchenko
Hi all I have a pipeline that processes some url. http://{1} type="html"/>       I.e. I get some html page, generate it, run an xsl and serialize. Nothing complicated. I can make a request localhost:8080/cocoon/testing/www.cnn.com/search.html (or whatever) and it works fine. The problem

Re: XPath problems in Cocoon?

2003-02-27 Thread Anna Afonchenko
node()[normalize-space() or self::*][1][self::a]]" First all non-whitespace-character text nodes and all elements are selected. From these one the first one is tested to be an . Regards, Joerg Anna Afonchenko wrote: > Thanks for answering > I agree that my expression is not the cle

Re: XPath problems in Cocoon?

2003-02-25 Thread Anna Afonchenko
ot;J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 9:21 PM Subject: Re: XPath problems in Cocoon? Anna Afonchenko wrote: > But when I tried to apply this stylesheet using cocoon, I still got the > empty root element

Re: XPath problems in Cocoon?

2003-02-23 Thread Anna Afonchenko
etschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 11:16 PM Subject: Re: XPath problems in Cocoon? Anna Afonchenko wrote: > Even if the white spaces are supressed, the algorythm will stay right, > because algorythm should check all a tags that

Re: Jtidy with properties

2003-02-23 Thread Anna Afonchenko
Robert You need to create file jtidy.properties and put it into your cocoon directory (together with sitemap.xmap file). In this file you set all the tidy properties that you need, e.g.: output-xml=yes output-xhtml=no etc. In sitemap you need to edit the HTMLGenerator configuration to check the pr

Re: XPath problems in Cocoon?

2003-02-20 Thread Anna Afonchenko
suppressed, or what else ?  ...   And perhaps I didn't understood what you want to get exactly ...   Laurent. -Message d'origine-De : Anna Afonchenko [mailto:[EMAIL PROTECTED]]Envoyé : jeudi 20 février 2003 12:57À : cocoon-usersObjet : Re: XPath prob

Re: XPath problems in Cocoon?

2003-02-20 Thread Anna Afonchenko
I tried it with XPathVisualizer tool, and it gives right result. But when I tried to run the stylesheet through the batch file using Saxon, I also got empty result. So I am really confused. Maybe somebody can suggest another XPath to accomplish this? I want to choose all a tags for which the

Re: XPath problems in Cocoon?

2003-02-20 Thread Anna Afonchenko
  I tried it with XPathVisualizer tool, and it gives right result. But when I tried to run the stylesheet through the batch file using Saxon, I also got empty result. So I am really confused. Maybe somebody can suggest another XPath to accomplish this? I want to choose all a tags for which th

Re: XPath problems in Cocoon?

2003-02-20 Thread Anna Afonchenko
Derek   I don't get any error message, at least not in WEB-IN/logs/error.log I get an xml document in the browser: xml version="1.0" encoding="utf-8" ?>     i.e., the stylesheet was applied successfully, it just didn't match anything. Maybe my XPath expression is wrong, but then

XPath problems in Cocoon?

2003-02-20 Thread Anna Afonchenko
Hi all. I am not sure that this message is related to Cocoon, so I apologize, if this is not appropriate here.   I have a very simple html - test.html: > Test anchors> > > test anchors> One>  Two> separator> One1> /> Two1> separator> One2> some text Two2> > html>   I want to choose the

Location of cocoon webapp on server

2003-02-06 Thread Anna Afonchenko
help   Anna Afonchenko and Spencer Bruce

Re: Problem with xsl parsing xhtml

2003-01-16 Thread Anna Afonchenko
the XSL, the matching won't work. You *must* bind it to a prefix. So changing your stylesheet to the following should solve your problem: http://www.w3.org/1999/XSL/Transform"; xmlns:html="http://www.w3.org/1999/xhtml";> Regards, Joerg Anna Afonchenko

Problem with xsl parsing xhtml

2003-01-16 Thread Anna Afonchenko
Hi all. This is not really a Cocoon problem, but maybe you can help me with this. I have the following XHTML page: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > Page> /> > >     Some content   and I want to parse it and take out the link

Refreshing Stylesheet in Cocoon/Tomcat

2003-01-09 Thread Anna Afonchenko
mething similiar in either Tomcat or Cocoon.   Our question is obviously what is the problem, and how do we go about solving it?   Thank you very much for your help   Anna Afonchenko Spencer Bruce   PS we will be pleased to supply code snippets, but we think that any case as described above will cause the problem

Looking for advice

2003-01-07 Thread Anna Afonchenko
Hi all. I need an advice. I am using HTMLGenerator to tidy the html files that are requested. Since JTidy sometimes messes up the original file (like with scripts inside tables - I posted a message about it few weeks ago), I would want to preprocess the original html file before passing it to

Re: Loading images with relative src

2003-01-04 Thread Anna Afonchenko
h relative src Could the AugmentTransformer handle this? Quoting Anna Afonchenko <[EMAIL PROTECTED]>: > Hi all. > I noticed that if I have pipeline like this: > > http://xml.apache.org/cocoon"; type="html"/> > > > > Some of the images on the p

Loading images with relative src

2003-01-02 Thread Anna Afonchenko
Hi all. I noticed that if I have pipeline like this: >   Some of the images on the page are not loaded, because they have a relative rather than absolue src, e.g. something like src="" instead of src=""http://xml.apache.org/images/pic.gif">ttp://xml.apache.org/ima

Problems removing meta tag from the html output in Cocoon

2003-01-01 Thread Anna Afonchenko
Hi all. Happy New 2003 Year to everyone! Here is my first question this year :-)   I have a small xsl stylesheet that takes in xml and outputs html. Since the output method is html, xsl puts in the output the following meta tag: thus making the whole output file invalid xml!   I want to re

Generating invalid url

2002-12-30 Thread Anna Afonchenko
Hi All. I have a pipeline that matches some http request with parameter indicating some url. For example: the http request is: cocoon/testing?url="">                                           > >   How I can check that the supplied url is valid? Does gen

RequestParameterAction question

2002-12-30 Thread Anna Afonchenko
Hi all. I am using RequestParameterAction to process parameters given in http request. My http request looks something like this: http://localhost:8080/cocoon/test?[EMAIL PROTECTED]   here is my pipeline:                                                   >

Re: Bug in JTidy?

2002-12-26 Thread Anna Afonchenko
ourceForge, otherwise the behaviour of JTidy is ok. We encountered many similar problems with JTidy. In your case JTidy gets especially confused by <tr> and <td> in the script. Maybe you must fix these pages by hand. Does CDATA exist in HTML?? If yes, maybe this helps. Regards,

Bug in JTidy?

2002-12-26 Thread Anna Afonchenko
Hi all. I use an HTMLGenerator to tidy up the pages that I load, and I encountered a very strange behaviour concerning scripts. This is my input file: test.html    >   Testing JTidy page> > >     This is test>     >         >             Hello world>         >        

Re: Value-substitution question

2002-12-25 Thread Anna Afonchenko
tution question From: "Anna Afonchenko" <[EMAIL PROTECTED]> > Oh, sorry, this is my typo. > The error is of course > The requested URI "/cocoon/test/xml.apache.org/faq-xslt.html" was not found > > But the problem is still the same: > ** doesn't match U

Cocoon reversing element attributes at output?

2002-12-25 Thread Anna Afonchenko
Hi All. I am writing xsl file that will catch some nodes (according given XPath) and will output these nodes as a string. Here is the code snippet that outputs the matching node: <         ="         " >   So, if, for example, the node is caught, then it will be output as is. When I

Re: Value-substitution question

2002-12-25 Thread Anna Afonchenko
slashes). It seems that something is differently resolved, if it's only 1 slash. > _The requested URI "/cocoon/ub/xml.apache.org/faq-xslt.html" was not found_ Where does the "ub" come from? Regards, Joerg Anna Afonchenko wrote: > Hi All! > I want to get the htt

Value-substitution question

2002-12-25 Thread Anna Afonchenko
Hi All! I want to get the http request that will provide me the URI of the file to generate (and transform). E.g., the request that I should get will be something like cocoon/test/xml.apache.org/cocoon/faq/faq-xslt.html My pipeline is as following:     http://{1}" type="html"/>           H

Re: xsl through pipeline [NOT supported???]

2002-12-23 Thread Anna Afonchenko
need the cocoons guru help :-) stavros (what a problem 2 days before christmas ) On Mon, 23 Dec 2002, Anna Afonchenko wrote: > Stavros > What happens if you try to generate your xsl outside cocoon (using batch > file) and then just use it as a transformer in your pipeline (i.

Re: xsl through pipeline [NOT supported???]

2002-12-23 Thread Anna Afonchenko
test.html is it a xml file or an empty file? in my case i want instead of your test.html to have xslInstructions.xml On Mon, 23 Dec 2002, Anna Afonchenko wrote: > Hi Stavros. > Here are my pipelines for using xsl generated through Cocoon: > > > > > > &

Re: xsl through pipeline [NOT supported???]

2002-12-23 Thread Anna Afonchenko
send me a snapshot of your sitemap where your .xsl pass (and generated) through a pipeline? stavros i u want to contact me directly use: [EMAIL PROTECTED] On Mon, 23 Dec 2002, Anna Afonchenko wrote: > Cocoon definitely supports using transformer that is itself generated by > some pi

Stylesheet in Cocoon

2002-12-23 Thread Anna Afonchenko
Hi all. I am trying to create a stylesheet using cocoon and then apply this stylesheet to some input. I need to declare a root element with different namespace declarations. When I was using batch file instead of Cocoon, I just wrote it as a string, e.g.:    

Re: xsl through pipeline [NOT supported???]

2002-12-23 Thread Anna Afonchenko
Cocoon definitely supports using transformer that is itself generated by some pipeline. At least, it works for me. Maybe you have some problems in your xsl? - Original Message - From: "Cocoon User" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 23,

Re: XPath problem in Cocoon?

2002-12-19 Thread Anna Afonchenko
[EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html ----- > -Original Message- > From: Anna Afonchenko [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 8:35 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > S

Re: XPath problem in Cocoon?

2002-12-18 Thread Anna Afonchenko
essary stuff. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - > -Original Message- > From: Anna Afon

Problem using java extension in xsl

2002-12-18 Thread Anna Afonchenko
Hi All. Ok, I hope this is the last question for today. In my xsl stylesheet I use some java extension class ParseTagContent.class. In my xsl I have declared xmlns:java="xalan://ParseTagContent" The class ParseTagContent.class is in the same directory with the xsl.   When I run this xsl usin

Re: Configuring JTidy

2002-12-18 Thread Anna Afonchenko
k you very much for answering my questions Anna - Original Message - From: "Martin Holz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 2:45 PM Subject: Re: Configuring JTidy "Anna Afonchenko" <[EMAIL PROTECTED]> wr

Re: XPath problem in Cocoon?

2002-12-18 Thread Anna Afonchenko
can simply check if your stylesheet works without Cocoon: run Xalan from the command line with your XML as input and see what happens. Konstantin - Original Message - From: Anna Afonchenko To: cocoon-users Sent: Wednesday, December 18, 2002 16:01 Subject: XPath problem in Cocoon? Hi all. A

XPath problem in Cocoon?

2002-12-18 Thread Anna Afonchenko
Hi all. Another question for today: I wrote a small xsl that matches p nodes from the input and prints their content. I wrote it like this:             Content of this tag is               Then I run this stylesheet through cocoon pipeline. I get empty result, e.g. the for-each didn

Re: Writing output of pipeline to a file

2002-12-18 Thread Anna Afonchenko
zed after your transformer in the pipeline. This one does not transform XML datas, but copy (not redirect) them in a file. Ludovic - Original Message - From: Anna Afonchenko To: [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 11:57 AM Subject: Re: Writing output of pipeline to a file

Re: Writing output of pipeline to a file

2002-12-18 Thread Anna Afonchenko
be to write a transformer (in XSL with redirection or in Java), localized after your transformer in the pipeline. This one does not transform XML datas, but copy (not redirect) them in a file.   Ludovic - Original Message - From: Anna Afonchenko To: [

Re: Writing output of pipeline to a file

2002-12-18 Thread Anna Afonchenko
in file in an Action, and use this file for transformation.   Ludovic   - Original Message - From: Anna Afonchenko To: [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 8:44 AM Subject: Re: Writing output of pipeline to a file

Re: problem in writing Actions

2002-12-18 Thread Anna Afonchenko
et directory of cocoon.   Regards, Elmar -Ursprüngliche Nachricht-----Von: Anna Afonchenko [mailto:[EMAIL PROTECTED]]Gesendet: Mittwoch, 18. Dezember 2002 11:22An: cocoon-usersBetreff: problem in writing Actions Hi all. I am exploring the action possibilities in

problem in writing Actions

2002-12-18 Thread Anna Afonchenko
Hi all. I am exploring the action possibilities in Cocoon now, and I wanted to test some actions. I took sample action class RandomAction.java (from book "Cocoon:Building XML Applications" by Langham & Ziegeler), changed the package name to ub, and copied this file into ub directory under co

Re: value-substitution in Cocoon

2002-12-18 Thread Anna Afonchenko
ay, December 18, 2002 11:52 AM Subject: Re: value-substitution in Cocoon Hi Anna and Team! CC-ing this message to Cocoon Dev list, cause it raises a more general requirement for possibility to combine input modules with other input modules in sitemap substitution values (see below for a use-c

Re: value-substitution in Cocoon

2002-12-18 Thread Anna Afonchenko
ards, Konstantin - Original Message - From: Anna Afonchenko To: cocoon-users Sent: Tuesday, December 17, 2002 14:55 Subject: value-substitution in Cocoon I have the following question: I know that in Cocoon I can use value substitution inside a pipeline, e.g. if I have a pipeline

Re: Writing output of pipeline to a file

2002-12-17 Thread Anna Afonchenko
t generates the XML file and this one is next transformed/serialized.                         Ludovic - Original Message - From: Anna Afonchenko To: [EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 3:09 PM Subject: Re: Writing output of pipeline to a file

Re: Passing request parameters - and making use of them in the XSL

2002-12-17 Thread Anna Afonchenko
Lenya I tried your example, it prints the parameter for me. You may have a typo in expression should be At least, this is the only reason I see. Anna - Original Message - From: "Lenya L. Khachaturov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 18, 2002 9:14

Re: Configuring JTidy

2002-12-17 Thread Anna Afonchenko
OK, thank you, I now understand how to set a doctype. But what about other settings, like converting quotes to entities. Not that I need it so much, but I am just curious, why this doesn't work through jtidy-config. I just want to know if that's me doing something wrong, or maybe this is some JTidy

Re: Writing output of pipeline to a file

2002-12-17 Thread Anna Afonchenko
supposes that the transformers are not modified.   Another solution should be using the CommandLine classes to perform the pipeline in an action but i can't say more about it.   Hope a better solution exists...   Ludovic - Original Message - From:

Writing output of pipeline to a file

2002-12-17 Thread Anna Afonchenko
Hello All! I know that today I ask too many questions, but since cocoon is new to me, sometimes I don't even know where to look for the information, so you are my only help. Thanks for everyone who took time to answer my questions. Here is another one:   At the end of the pipeline the result

value-substitution in Cocoon

2002-12-17 Thread Anna Afonchenko
I have the following question: I know that in Cocoon I can use value substitution inside a pipeline, e.g. if I have a pipeline                     and if I write the URI http://localhost:8080/cocoon/param1/some.html   then in the pipeline the stylesheet some.xsl will receive a

Re: Configuring JTidy

2002-12-17 Thread Anna Afonchenko
I downloaded a new version 2.0.4 of Cocoon this week. If I change the name of the file in jtidy-config to unexisting file, I get the following error message: type fatal message UnnamedSelector: ComponentSelector could not find the component for hint [html] description org.apache.avalon.framework

Re: Configuring JTidy

2002-12-17 Thread Anna Afonchenko
tml serialiser. You are using the xml serialiser so you get xml back instead of html. 2.) In your jtidy.properties you may have a typo: output-xml=no outpu-xhtml=yes <== this corrected in your properties ? quote-marks=yes uppercase-tags=no doctype=transitional regards, hussayn A

strange javax lines in the output

2002-12-17 Thread Anna Afonchenko
Hi all. I am getting html file, transform it and serialize the output as xml. In the output I get a few lines like this: javax.xml.transform.disable-output-escaping ?>   I get this line only if I use tag with disable-output-escaping attribute in my stylesheet. Can somebody explain to me w

Re: Configuring JTidy

2002-12-17 Thread Anna Afonchenko
; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 4:30 PM Subject: RE: Configuring JTidy should be in a file called jtidy.properties in the same directory as the sitemap? the properties file style would contain each name=value pair on a separate line. Geo

Re: Using saxon extensions in Cocoon?

2002-12-16 Thread Anna Afonchenko
d building a fresh cocooon with saxon support and a little bit more, but it is currently an internal document. I'm still workming on it ;-) good luck, hussayn Anna Afonchenko wrote: > Hi all. > I have an xsl stylesheet that uses a few saxon extension functions. > When I was applying

Using saxon extensions in Cocoon?

2002-12-16 Thread Anna Afonchenko
Hi all. I have an xsl stylesheet that uses a few saxon extension functions. When I was applying this stylesheet on an xml file through command line, everything worked, but now I am trying to run it through Cocoon, and I get the message:   The XML page cannot be displayed Cannot view XML inpu

Configuring JTidy

2002-12-16 Thread Anna Afonchenko
Hi all. I have a very  simple and stupid question. In the 2.0.4 version of cocoon the HTMLGenerator now can accept a JTidy configuration file. The example that is given in the user documentation is:       jtidy.properties    I am probably very stupid, but from this documentation I don't u

Re: cvs HEAD bombing out of pipeline

2002-11-27 Thread Anna Afonchenko
Thanks for the information, Jacob. Can you tell me where can I find the updated jars? Thanks for help Anna - Original Message - From: "Jacob L E Blain Christen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 6:22 PM Subject: Re: cvs HEAD bombing out of pi

passing parameters to XSP

2002-11-27 Thread Anna Afonchenko
Hi All. Another question: I neeed to pass to XSP some file that was evaluated previously in some pipeline (can pass it as a string), something like:       If I use cinclude inside XSP, I can do nothing with the included file in XSP, only enclose it with some tags. But I actually need to m

Re: Problem compiling Cocoon

2002-11-26 Thread Anna Afonchenko
pad.libs=true -Dinstall.war="$HOME/route/to/jakarta-tomcat/webapps" installwar I hope it will help. Regards, Antonio Gallardo. Anna Afonchenko dijo: > 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

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]>

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!

Problem compiling Cocoon

2002-11-26 Thread Anna Afonchenko
I am not sure that this question belongs to this group and not to cocoon-dev, but I'll give it a try. I downloaded cocoon files through cvs repository (using WinCVS, as explained on http://xml.apache.org/cocoon/installing/index.html) to directory c:\xml-cocoon2 Then I run the buld: .\build.b

Re: JavaScript problems in XSP

2002-11-26 Thread Anna Afonchenko
an - but I've never touched Rhino and can't right now. Geoff (more comments below) --- Anna Afonchenko <[EMAIL PROTECTED]> wrote: > 1. First of all I tried to give the eval() function > some simple string that > I declared inside the tag: someStr = > "documen

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 of this some.js file is:   if I embed this file into some

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 PROTECTE

Re: JavaScript problems in XSP

2002-11-25 Thread Anna Afonchenko
Hi Geoff. Thank you for your help, I appreciate this very much. I tried the code that you suggested, and I have a few questions/issues: 1. First of all I tried to give the eval() function some simple string that I declared inside the tag: someStr = "document.write('Hello')"; If I write this string

Re: HTML Tidy question

2002-11-25 Thread Anna Afonchenko
> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 3:09 PM Subject: Re: HTML Tidy question On Monday 25 November 2002 14:00, Anna Afonchenko wrote: > Sorry for being stupid, but I've been to this page before, and I still > don't understand how can I improve HTML

Re: HTML Tidy question

2002-11-25 Thread Anna Afonchenko
02 2:34 PM Subject: Re: HTML Tidy question On Monday 25 November 2002 13:19, Anna Afonchenko wrote: > Hi all! > I have another question: > I know that HTMLTransformer uses JTidy to convert to valid HTML. > But I need to set some more options. AFAIK the info at http://outerthought.net

HTML Tidy question

2002-11-25 Thread Anna Afonchenko
Hi all! I have another question: I know that HTMLTransformer uses JTidy to convert to valid HTML. But I need to set some more options. For example, in HTMLTidy I can use boolean option output-xhtml to produce valid xhtml, or boolean option quote-marks set to yes to convert all single quotes

Re: Inserting XML Strings

2002-11-25 Thread Anna Afonchenko
hoice : If you try to insert in your event pipeline some HTML code, you will have problems because it is not XML (Could not include page Open quote is expected for attribute "size|". ???). So, what do you want to do with your HTML file : send it to the client or transform it ? Give us more i

Re: Inserting XML Strings

2002-11-25 Thread Anna Afonchenko
Hi. Sorry that I enter your discussion, but I have almost the same problem. I am trying to read from the html file and output the content as xml. What I'm writing in xsp is: XSPUtil u = new XSPUtil(); String get = u.getFileContents('URL of the file'); This is some file content

Re: JavaScript problems in XSP

2002-11-25 Thread Anna Afonchenko
nd what generators do as it seems you may have some of the concepts muddled. XSP is only a tool for automatically creating a generator - a compiled java class no matter what language you script your xsp in. Best of luck, Geoff Howard --- Anna Afonchenko <[EMAIL PROTECTED]> wrote: > Thank you Ry

Re: Javascript problems in XSP

2002-11-24 Thread Anna Afonchenko
No. Look in your cocoon\docs\samples\xsp-js directory, there are some examples of xsp using Javascript. You just need to put into your xsp generator. - Original Message - From: "Jacob L E Blain Christen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 6:45 PM

Re: JavaScript problems in XSP

2002-11-24 Thread Anna Afonchenko
html, kind of like this (myfile.xsp): http://apache.org/xsp> http://apache.org/cocoon/include/1.0";> and in your sitemap.xmap: HTH +Ryan -Original Message- From: Anna Afonchenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, Novembe

Javascript problems in XSP

2002-11-21 Thread Anna Afonchenko
Hi All. This is my first post, so don't be angry with me if I do something wrong. I am using XSP on Cocoon 2.0.3, and I want to do the following: given a name of the html file that contains javascript, I want to get the result of this javascript and put it inside some element in XSP. But whe