Hey,

I'm trying to do dynamic query where I don't know columns names or
ammount.

SQL: SELECT * FROM table;

I can't use <esql:get-columns /> becaues it returns reuls in difficult
to handle format:

<sql:foo>value</sql:foo>

What I would like to is this:

<column name="foo">value</column>

or even:
<column>
 <name>foo</name>
 <value>value</value>
</column>

WHY like this? It's difficult to say in XSLT to say <xsl:value-of
select="/$element_name" /> .. it's easier to say <xsl:value-of
select="/column/name = $name" /> (or somethign like that)

I tried looking from mailinglists, but what I found, that many have had
the same problem, but could not find the answer.

Using cocoon 2.0.4

- Joose

-- 
Joose Vettenranta <[EMAIL PROTECTED]>  GSM: 044 561 0270
* Always remember that you are unique.
                          Just like everyone else.*

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to