Re: XSL-question: sort with parameter

2002-03-26 Thread Bartomeu Adrover
It's not a very good solution if you have a lot of values for sort, because you need to put one xsl:if tag for any possible value. http://www.w3.org/1999/XSL/Transform";> Axel Honfi wrote: > Hi! > > I passed a parameter to a stylesheet and

Re: External graphic, FOP and URIResolver

2002-03-21 Thread Bartomeu Adrover
I have this problem and this is my solution (it isn't very elegat, but can be util) : I put the image with a relative link to the pdf file. The path of my site map is http://machine/context/sci/ (by default context is coocon). If you request one file of the sci/ directory you need use the first p

Re: Problem in

2002-03-20 Thread Bartomeu Adrover
"http://swww.uib.es:9080/Noticies/fllistat.not?p_ubi_codalf=SCI&p_ub i_codalf=SCIIncidencies".   Nicola Ken Barozzi wrote: From: "Bartomeu Adrover" <[EMAIL PROTECTED]> > Hello, I use cocoon 2.01 with apache tomcat 4.01 in windows nt. I

Problem in

2002-03-19 Thread Bartomeu Adrover
Hello, I use cocoon 2.01 with apache tomcat 4.01 in windows nt. I construct an page with varius xml source with tag: The problem is the part . This part get the informatio from other server and sometimes this service is un

Re: Optional parameters

2002-03-05 Thread Bartomeu Adrover
If you use the transformer xsl with pass the parameter to the xslt, is not necessary to declare the parameters and use the match. Prove this: The tag send to xslt all the parameters from the url or the post request. See the cocoon documentation for other e

Re: Convert RTF to XSL:FO

2002-03-04 Thread Bartomeu Adrover
See this URL: http://www.novosoft-us.com/ns2b.nsf/w1/RTF2FO http://www-106.ibm.com/developerworks/xml/library/x-tiprtf/ Matthew Langham wrote: > Looking for some suggestions on how to convert RTF documents into XSL:FO for > further processing into PDF. Yes I know there are several tools > "avial

Re: xsl:output problem

2002-02-27 Thread Bartomeu Adrover
Hello, the xslt tranform xml to xml, but the HTML serializer transform the result xml in html. If you tell to the sitemap that the serilizer is xml then your result as xml. For example: I has a problem, because the serializer don't put the ISO-8859-1 encoding. My solution was put

Re: Newbie - how do I get URL request params in sitemap

2002-01-31 Thread Bartomeu Adrover
Prove to use the action "RequestParamAction". In the java doc of this class you can find how to use it. Huw Jones wrote: > How do I structure the cocoon2 sitemap to get request parmeters i.e > > url: http:// > So in the sitemap I want to > > > > > > > > I'm sorry if this is a b

Re: How to configure sitemap.xmap

2002-01-24 Thread Bartomeu Adrover
If your xsp files generate FO you dont need the tag . If your xsp files don't generate FO you need to especify the xslt (or the transformer) for convert the xml generated by the xsp to FO. "MOODAD (Shadi LB Soft)" wrote: Hi I'm trying to generate pdf reports using the cocoon servlet. I have confi

Re: use-browser-capabilities-db

2002-01-15 Thread Bartomeu Adrover
There are any information about this in the source code of the xslt transformer. Alex Kachanov wrote: > There is a parameter in sitemap "use-browser-capabilities-db" > > does any one know how to use this parameter? > The documentation tells about some browser capability database > but where is i

Where is instaled my cocoon

2002-01-11 Thread Bartomeu Adrover
Hello, I need to know in an xslt, what is the path of the cocoon. For example if I procces a request http://www.uib.es/cocoon/sci/hello. sci/hello is the pattern matched in the pipeline, and I need know "http://www.uib.es/cocoon";. The reason of this is if I change the server and I have absolute

Subsitemap problem

2002-01-09 Thread Bartomeu Adrover
Hello I have intalled a Cocoon 2 with Tomcat 4 in a Windows NT server. I create a subsitemap outside of the cocoon directory. I include the sitemap with this code in the main sitemap: And when I try to acces an url in the sitemap the cocoon returns me file not

Re: Question about XSLT parameters

2001-12-20 Thread Bartomeu Adrover
.org/1999/XSL/Transform">         3. use you value whereever you want in the same file-page2html.xsl file this way:     Enjoy pino Original Message Follows From: Bartomeu Adrover <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Question about XSLT parame

Re: Question about XSLT parameters

2001-12-20 Thread Bartomeu Adrover
ce it like this: > > > Hth, > Christian > > On Thu, Dec 20, 2001 at 11:02:38AM +0100, Bartomeu Adrover wrote: > > I'm working in web development and I'm traying to design our web site > > with xml and Cocoon2. > > With the cocoon 2 is possible pass

Question about XSLT parameters

2001-12-20 Thread Bartomeu Adrover
I'm working in web development and I'm traying to design our web site with xml and Cocoon2. With the cocoon 2 is possible pass to an XSLT one parameter usin this tag in a pipeline. This parameter is the name of server, in my case http://ensiola.uib.es:8080/. I need this information in the xslt fo

Re: Can a Transformer include multiple HTML documents?

2001-12-19 Thread Bartomeu Adrover
Hello, my idea is: create "n" pipelines that acces to the url's and get html documents into xhtml. After that create an pipeline that include all this sources: For all urls: http://www.myurl.com/PredINM"; type="html"/> ...