Hello,
i have cocoon 2.0.4 with tomcat 4.1.x running.
I have a postgres db whith some content in it.
I also can display the date using cocoon, everything fine
My problem now is,
that i want to write a page that is like that
--- -- -
|
Hi all,
i get values from a postgres database and i want to show them in a
html-table view.
everything gets touched and transformed by my xsl-file, except for the
data from the database.
Maybe someone can help solve this problem.
Here is what i have in my sitemap:
map:match
Markus Blasl wrote:
I tried it with copy and paste for the generated xml-file and my
xsl-file.
And there it works, everything is put in a table.
The values now show up, but they are left untouched, or better they
are lined up, without any spaces at all.
I meant it works local, outside cocoon
David LAGARDERE wrote:
Try :
xsl:template match=sql:rowset
table
tbody
xsl:apply-templates /
/tbody
/table
/xsl:template
xsl:template match=sql:row
tr
xsl:apply-templates /
/tr
/xsl:template
Then I get an error and it says something like,
Prefix needs to get solved in namespace.
David LAGARDERE wrote:
Yes, this is because you haven't declared the prefix
in your stylesheet tag (I advise to write it here so
that it can be recognized anywhere in your XSL).
Rewrite your xsl:stylesheet opening tag like this :
xsl:stylesheet version=1.0
Hello,
i want to set up an application with a postgres database.
It's my first contact with cocoon so far, maybe someone can help.
What I did so far:
Installed Postgres, Apache, Tomcat and Cocoon.
Everything is working fine, and I also played a little bit with the
cocoon features.
Now I