Argyn,
You will need to convert your data (xsltransform) with:
<xsl:for-each select="node()">
<column>
<xsl:attribute name="name">
<xsl:value-of select="local-name()"/>
</xsl:attribute>
</column>
</xsl:for-each>
Hope this help
Denis
----- Original Message -----
From: Argyn Kuketayev
To: Cocoon-Users (E-mail)
Sent: Tuesday, July 02, 2002 5:37 PM
Subject: C2.0.3 ESQL: <esql:get-columns/>
I've two questions:
1. <esql:get-columns/> generates: <col1>val1</col1><col2>val2</col2>...
how to make it generate this? <column name="col1">val1<column><column
name="col2">val2<column>...
2. If my string value of the coulmn contains tags, e.g. html tags like
"val1<br>", will XSP generate a valid xml document?
Re-phrasing: how to make it return this? <column
name="col1"><![CDATA[val1<br>]]>
thanks
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>