> > 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
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
> 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
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
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
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
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
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
---
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="+
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!
>
>
[
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
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
> > 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
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
> 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
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
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
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
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
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:
>
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 (
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',
>
> 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
-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
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
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
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
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
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
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
>
>
Sorry, but your "way of thinking" is completely wrong. You must change your
code, you don't need such things like
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
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
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
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
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
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
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
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
39 matches
Mail list logo