Re: Newbie question about CSS display

2003-03-28 Thread Jörg Heinicke
> > This only for clarification. Test the stylesheet independent of the > DocBook > > HTML with "http://myserver:8080/cocoon/book/book.css";. If you get it, > hmm, > I > > don't know. If not, what do you get? > > > When I follow the suggestion to access the CSS alone, I get this error: > > type re

Re: XSP/ESQL - separation of concerns?

2002-12-18 Thread Jörg Heinicke
But it's obvious that you must map the data retrieved by the SQL-queries into tags. Is it really useful to have an intermediate step like the mentioned Torque? Aren't the tags only another data representation? Joerg > Hello, > > in my current project I am using xsp and esql logicsheet for db > r

RE: Re: Need help getting rid of unnecessary XML files

2002-11-25 Thread Jörg Heinicke
> I guess I was unclear in my first posting...currently, I produce an XML > document based on querying the database. But this first step is the interesting one. Why do you produce an XML file instead of SAX events? There already exist some generators producing SAX events from database query resul

Re: A href in XLS file

2002-10-21 Thread Jörg Heinicke
Hello Jaroslav, > Hello, > > I have these structure, which I got from DB using esql:get-xml. > > > >5 >[EMAIL PROTECTED] > > > > I made an XSL file for format this string, but I have problem with > clickable > Email. > > When I used somethink like that, I got email into HREF

Re: set user agent with request parameter or path element

2002-10-15 Thread Jörg Heinicke
AFAIK the best then is to use is parameter selector, not the browser selector. But so you want the request parameter? Response time because of selecting on every request? Why don't you use a nested selecting: first parameter, if it's not there use browser selector. But if this is really faster? R

Re: Stylesheet directed termination??

2001-12-07 Thread Jörg Heinicke
Either you have more exactly error messages/exceptions in cocoon.log or especially components.log or you really have a anywhere in your stylesheet. Joerg Michael Engelhart wrote: > hi, > > I'm getting java.lang.RuntimeException's in my root.log on Cocoon 2 when > trying to run a basic XSP

Re: Cocoon ignoring xsl:output ident?

2001-12-04 Thread Jörg Heinicke
In the default-sitemap there are a few examples: -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd iso-8859-1 Like encoding is specified here, everything else of has to be specified too. I don't know whether there are any limitations in comparison with

Re: Cocoon ignoring xsl:output ident?

2001-12-04 Thread Jörg Heinicke
http://xml.apache.org/cocoon1/faqs.html#faq-xsloutput Regards, Joerg > But Cocoon seems to be ignoring the . All of the output is coming out on the same line. > > Ideas? Suggestions? Do I need to somehow tell cocoon to turn on Xalan indent processing some other way? > > > TIA! > > DR ---

Re: How to avoid the translation of "<" into "<"

2001-11-30 Thread Jörg Heinicke
Avoid using the working draft-implementation of XSL, change to the W3C-recommmendation. Joerg Vincent Oorsprong wrote: > Hi, > > Does anyone know how I can avoid that the result of: > > language="javascript">createDetAddRqRows(this.selectNodes("//AVL/DATAPACKET/ > ROWDATA/ROW[@NUMALBARAN="+

Re: Antw: RE: Navigate through a xml-document over the web-browser

2001-11-29 Thread Jörg Heinicke
Hello Johannes, as far as I know IE realizes it's XML-navigation by a built-in stylesheet. So you need only this stylesheet. But don't ask me where to get it. Joerg Johannes Schwarz wrote: > Unfortunately, I want the navigation in any browser-version and in a > specific HTML look! > > [

Re: xsl:include not allowed ?

2001-11-23 Thread Jörg Heinicke
Without the stylesheets it's very difficult. You have the xsl:include on a wrong position - or it's a bug from Xalan. example for wrong position: test Here xsl:text is not allowed in this position. But because of bug in Xalan: Not long ago such an error occured at my code too. I don't

Re: XSP namespace question

2001-11-16 Thread Jörg Heinicke
Hi David, in XSLT there is an attribute of called 'exclude-result-prefixes'. I don't think that this will work already on the XSP, but at least in your XSL. Give it a try: It's a whitespace-separated list. If this doesn't work (because you only copy the node), try instead of . It gives the

Re: C2: xsl:message

2001-11-14 Thread Jörg Heinicke
> > I just tried using xsl:message in Cocoon2 and got a hard-failure screen. > > Per the XSLT spec, isn't the message entered supposed to display in the > > browser or something? > > > > Tried this: > > > > Error occurred - check your data! > > > > should be > > > Error

Re: SVG

2001-11-14 Thread Jörg Heinicke
We are doing this already. So there should be no problem in general. Have you tried the samples of Cocoon 2? The SVG-samples creating JPEG from XML? And XSP-samples? Combine these two and you will get JPEG from XSP. Look at the logfiles if you have problems and think your sitemap-entries should

Re: href

2001-11-14 Thread Jörg Heinicke
> Ferran Urgell: > > > Henrik Hofmann: > > > > > > These two are equivalent and shouldn't cause any errors. Ferran has the shorter and more readable version. Ferran's problem seems to be 'sql:ref' itself. But there I can't help. Joerg -- System Developm

Re: C2 uses 1.0 or 1.1 of XSLT spec?

2001-11-12 Thread Jörg Heinicke
Xalan (the Transformer in Cocoon 2) uses the XSLT spec 1.0. But this doesn't matter for your problem. You don't need the nodeset()-function. With your variables you always get nodesets. The nodeset()-function is for transforming ResultTreeFragments to nodesets. Now your problem: The problem is yo

Re: Strange password error

2001-11-12 Thread Jörg Heinicke
Do you have a & in your connection-URL? For example &S: ? That's the error. You have to write & as & . Regards, Joerg - Original Message - From: "Gustavo Nalle Fernandes" <[EMAIL PROTECTED]> To: "Cocoon-Users" <[EMAIL PROTECTED]> Sent: Tuesday, November 13, 2001 2:18 AM Subject: Strange

Re: no html output after pdf rendering

2001-11-09 Thread Jörg Heinicke
Hello Erik, I would test the XSL-FO output before serializing it to PDF. So you can see whether the docbook stylesheets work correctly. Furthermore you can test it without Cocoon2, only using xalan.jar for XSL-transformation and fop.jar for transformation to PDF. Both jars are delivered with C

Re: disable-output-escaping !!

2001-11-01 Thread Jörg Heinicke
Hi Martin, sorry, that you have to wait so long, but I have not much time at the moment. I think there are 2 possiblities. Either IE and Excel 97 could use XML, so the Transformer could not transform it to the HTML-entity. Or you set the encoding of the output file for instance to ISO-8859-1, th

Re: disable-output-escaping !!

2001-10-31 Thread Jörg Heinicke
Hi Martin, disable-output-escaping is bad coding when creating tags with it. For example: ...blabla... But if you need it for your sign, you can use it. But the XSL-transformer are not forced to support disable-output-escaping!! But most do it. Joerg Martin Mauri wrote: >

Re: Cocoon2 -changes in web.xml

2001-10-03 Thread Jörg Heinicke
This message occurs if the structure of the XML doesn't match the DTD. So there seems to be an ordering problem or a completely wrong tag at this place. I can not say what's wrong, because the opening tag is missing in your code-snippet. But the nodes in must be like the following: 1. 0 or 1 (

Re: How to have prompt for download?

2001-10-03 Thread Jörg Heinicke
I think, this is a problem of Windows not of Cocoon. Because I have a German version of Windows I can't tell you the right way. I try to explain it: In the explorer we have a menu named 'Extras', it should be named similarly in English, there 'directory options', 'file types', search for '.doc',

Re: Newbie: Problems with Sitemap

2001-10-02 Thread Jörg Heinicke
> > mime-type="application/futuresplash"/> > Something like this will work, but your {1} contains the matched directories plus the filename. Change it to Joerg - Please check that your question has not already

Re: non-existing -src and sitemap-recompilation

2001-09-25 Thread Jörg Heinicke
-recompilation Date: Tue, 25 Sep 2001 13:25:42 +0200 From: Jörg Heinicke <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hi, we have a problem with our sitemap(s) here. We are working with one central cocoon2b2-version and for anyone a sub-sitemap and for anyone and any project

non-existing -src and sitemap-recompilation

2001-09-25 Thread Jörg Heinicke
Hi, we have a problem with our sitemap(s) here. We are working with one central cocoon2b2-version and for anyone a sub-sitemap and for anyone and any project a sub-sub-sitemap. Adding a non-existing -src causes an error java.lang.ClassNotFoundException: org.apache.test of course. The problem

Re: problem with xml document() function

2001-09-13 Thread Jörg Heinicke
The problem is to be searched in your XPATH-expressions in your stylesheet. In your variable $menu the whole structure of menu.xml is stored, i.e. inclusive , and so on. With $menu/@href you will get the href-attribute of the root - there is non! You must delete the $menu if you have already m

Re: Sitemap - unsatisfied link error awt.all

2001-09-11 Thread Jörg Heinicke
Hello Henrik, for a help from the group I would suggest that you translate the German error message into English - who should understand it here? > java.lang.UnsatisfiedLinkError: C:\Java\jdk1.3\jre\bin\awt.dll: Es wurde > versucht, auf eine unzulässige Adresse zuzugreifen ---> There was an a

Re: [C2] Output indent problem NOT solved

2001-09-06 Thread Jörg Heinicke
Are you using anywhere exactly in this forms, i.e. without select-attribute? Then you match on text()-nodes too, e.g. line wraps. They will be copied into the output-document too. Depending on your XSL the following template COULD help: Joerg Jorn Heid wrote: > This works for the main xslt

Re: [C2]Output indent problem.

2001-09-06 Thread Jörg Heinicke
Cocoon 2 (don't know Cocoon 1) ignores the , you must this parameters in the sitemap. Have a look at http://xml.apache.org/cocoon2/sitemap.html. There can be found examples at the point 'Serializers'. Joerg Ling Kok Choon wrote: > Hi All, > > I use cocoon to build a web site, when the outp

Re: tag in xsl

2001-09-04 Thread Jörg Heinicke
You are using the HTML-serializer, so you get HTML-output. And in HTML the -tags shouldn't be closed (backward compatibility). Joerg Thangadurai wrote: > Hi All, > I am new to cocoon i have problem while using html tag > in my xsl. > Please see the following xsp and xsl files > >

Re: Disable-output-escaping Question

2001-08-31 Thread Jörg Heinicke
Sorry, but your "way of thinking" is completely wrong. You must change your code, you don't need such things like

Re:

2001-08-27 Thread Jörg Heinicke
Hello, with the current namespace (xmlns:xsl="http://www.w3.org/1999/XSL/Transform";) it must be ... But for what do you need a "hand-written" PI named 'xml'? If you set the outputformat to XML you will get the PI automatically. And if it's no XML you won't need it I think. Joerg Gontza

Re: need help. problems with an condition

2001-08-24 Thread Jörg Heinicke
Hi Lucian, this is a general XML/XSL-problem and you should ask such problems to such a list. Furthermore this is one of the classical problems: the text-node of KT_FormState contains line breaks because of your XML-file. I suggest to rewrite your XML without such line breaks in the text-nodes

Re: performance tuning...

2001-08-23 Thread Jörg Heinicke
Karl Øie wrote: > wget timing: > > first run of "toc.html" -> 41.879s > second run of "toc.html" -> 0.013s (!!!) > > first run of "page.html?xpath=//*[@id='1222']" -> 58.031s > second run of "page.html?xpath=//*[@id='1222']" -> 0.017s (!!!) Hi Karl, maybe I have another proposal f

[Fwd: Re: [C2b2] document() function not working?]

2001-08-22 Thread Jörg Heinicke
Joerg Original-Nachricht Betreff: Re: [C2b2] document() function not working? Datum: Wed, 22 Aug 2001 17:22:38 +0200 Von: Jörg Heinicke <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Referenzen: <[EMAIL PROTECTED]> Hi Christopher, thanks for your reply, but it must be a

Re: [C2b2] document() function not working?

2001-08-22 Thread Jörg Heinicke
Hi Christopher, thanks for your reply, but it must be another problem. I tested the stylesheet with all the XML-files on the commandline with Ant/Xalan and without Cocoon - it works fine. But I want to use Cocoon for doing this transformation on the fly. For the document()-function I have a q

Re: [C2b2] document() function not working?

2001-08-22 Thread Jörg Heinicke
Hello Wes, did you solve your problem? I also have my problem with this function, equal to relative/absolute path and so on, it seems to me, that the document()-function doesn't work. Best proof: I won't get my .. in the output-document, if it is written after the . And I don't

Re: posting html allowed?

2001-05-30 Thread Jörg Heinicke
What about http://groups.yahoo.com/group/svg-developers ? > begs the question, though, is there a good svg-users list out there? > > - donald - Please check that your question has not already been answered in the FAQ before pos

Re: HTML in XML Content

2001-05-30 Thread Jörg Heinicke
If the HTML-code is well-formed, then there should be no problem. The only tags causing problems are the non-closed tags like . And you may not interleave your tags like any text in bold, in bold and italic, only in italic , because this is not well-formed. Hope this helps. Joerg > > My pr