Problems removing meta tag from the html output in Cocoon

2003-01-01 Thread Anna Afonchenko
Hi all. Happy New 2003Year 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: meta http-equiv="Content-Type" content="text/html;

Re: Authorisation problem

2003-01-01 Thread Your Name
That information is in the request object, not session - see http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/environment/Reque st.html. There is not (to my knowledge at least) a way to get an enumeration of all the roles associated with a user - you can only get a boolean back from

Re: Problems removing meta tag from the html output in Cocoon

2003-01-01 Thread Joerg Pietschmann
On Wednesday 01 January 2003 09:19, you wrote: 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: meta http-equiv=Content-Type content=text/html; charset=utf-8 thus making the whole output file

Re: Problems removing meta tag from the html output in Cocoon

2003-01-01 Thread Joerg Heinicke
Hello Anna, Anna Afonchenko wrote: Hi all. Happy New 2003 Year to everyone! the same for you and all the others on the list. Here is my first question this year :-) And my first answer. I have a small xsl stylesheet that takes in xml and outputs html. Since the output method is html, xsl

Re: Problems removing meta tag from the html output in Cocoon

2003-01-01 Thread Joerg Pietschmann
On Wednesday 01 January 2003 16:28, you wrote: But why should the meta tag contain wrong information? It's serialized as meta ... instead of meta .../ or meta.../meta, thereby making the serialized result not well formed XML. J.Pietschmann

Re: Problems removing meta tag from the html output in Cocoon

2003-01-01 Thread Joerg Heinicke
As a side point, both the XML and HTML serializer are implemented as an identity XSL transformer. Now Saxon has an XHTML output method, which does not have the problems mentioned above. It would be interesting to leverage this to provide a proper XHTML serializer. I vaguely remember Xalan has a

Where has the ducumentation gone

2003-01-01 Thread Franz Philipp Moser
I've just upgraded to tomcat 4.1.18 and cocoon 2.0.4. When I request the documentation of cocoon, I get a wonderful Menue but the right side ( content ) is always empty. It also says no Title in the top right?!? The samples, status, ... work fine! Just the docs seem to be broken? I'm using

Re: Problems removing meta tag from the html output in Cocoon

2003-01-01 Thread Joerg Pietschmann
On Wednesday 01 January 2003 16:43, you wrote: I'm not a developer, but I know that there is configured a XHTML serializer in the Cocoon sitemap: map:serializer logger=sitemap.serializer.xhtml mime-type=text/html name=xhtml pool-grow=2 pool-max=64 pool-min=2

Problems resolving internal paths

2003-01-01 Thread Alexander Czernay
I have a file structure serving two sites with the same XML data, but with different XSLTs for layout: /cocoon/-- Tomcat's application path /cocoon/k8--- the main site /cocoon/k8/xml--- XML files /cocoon/k8/alexander--- first site's XSLTs and CSSs etc... /cocoon/k8/moritz---

Can I use map:aggregate for XSL files?

2003-01-01 Thread leona s
Hi All, I have a rather large application that has a huge XSL file that I would like to break down into smaller files. Is it possible to use aggregate to do this? The problem is establishing the attributes of the xsl:stylesheet element in the root; I don't see a way to do this with

RE: Problems resolving internal paths

2003-01-01 Thread Reinhard Poetz
Hi Alexander, Try to use relative paths in your src attributes (your base directory is always the current sitemap) - this should solve your resource not found problems. Regards, Reinhard -Original Message- From: Alexander Czernay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January

Re: Problems resolving internal paths

2003-01-01 Thread Alexander Czernay
Reinhard Poetz wrote: Hi Alexander, Try to use relative paths in your src attributes (your base directory is always the current sitemap) - this should solve your resource not found problems. Regards, Reinhard Isn't there any way to get absolute paths? I wanted to keep all the needed

Re: Lost in the pipeline - cocoon/documentation

2003-01-01 Thread Joerg Heinicke
Hello, I don't know exactly to which files you refer ( I don't have a Cocoon installation on this computer), but everything you say seems to be correct. e nio wrote: Am trying to follow the pipelines for cocoon to display the index.xml, for example when I type on the browser

Re: Can I use map:aggregate for XSL files?

2003-01-01 Thread Joerg Heinicke
Hello Leona, yes that's really a problem. You can only create an element, but no attributes. But there is another mechanism to break down the huge XSL files. Do you know xsl:import/ and xsl:include/? Have a look at http://www.w3.org/TR/xslt#section-Combining-Stylesheets. Some time ago there

Re: Can I use map:aggregate for XSL files?

2003-01-01 Thread Joerg Pietschmann
On Wednesday 01 January 2003 20:18, you wrote: Some time ago there was a caching problem. You must change the including XSL to get the changes of the included XSL files. But I don't know the current status. This has been fixed in may, and the patch should have made it already into C2.0.3

Re: Can I use map:aggregate for XSL files?

2003-01-01 Thread Cocoon User
we have a system that produce web site drived form a xslt collection we have a core.xsl file and include into this all others usinc xsl:include using relative to core.xsl paths thats work fine and completly transparent to cocoon. so we can use this xslt collection with or without cocoon

sql xsp and redirection

2003-01-01 Thread Cocoon User
hi people and happy new year i try to build a sible address book using mySQL and xsp to understand how thing work i have two xsp files that only execute update and delete queries and display a success or failure message is it posible to call a .xsp file (for delete query execution) and then

Augment Transformer does not ignore javascript

2003-01-01 Thread Alex Romayev
Hi, I've noticed that Augment Transformer (which is very useful), ignores absolute URLs, but not javascript. I'm trying to create a go back link and the transformer is appending my javascript:back() with the full path. Of cource I could create my own transformer to ignore javascript in addition

Re: i18n catalogue and sql

2003-01-01 Thread Cocoon User
hi konstantin i know how to make a src file selection based to requested url using matches http://./el/test http://./en/test map:match pattern=*/* map:generate src={1}_{2}.xml/ /map:patch but how can do something similar using parameter? http:///test?locale=el

how to get line number and column to appear in XML parsing errors

2003-01-01 Thread Eddie Fang
Happy new year all: How would I get the line number and column for SAXException: JspGenerator.generate()? Currently I am using Cocoon 2.0.4 with JDK 1.4 and Tomcat 4.0.4. Thanks in advance! Eddie

xmlform and i18n translation

2003-01-01 Thread Kirchhoff, Lars
hello I want to have a separate error page, where I can display different error messages. These error messages are generated from methods in the bean and they should be translated. Therefor I setup a error.xml which holds only a xf:output element which should display the error. So far I

Re: Authorisation problem

2003-01-01 Thread Sebastian Gil
2002-12-31 17:01:07, Your Name [EMAIL PROTECTED] wrote: a boolean back from isUserInRole(java.lang.String role). Thanks a lot. It's what I was lloking for. SG. - Please check that your question has not already been