Re: C2.0.3 ESQL: esql:get-columns/

2002-07-02 Thread Denis Thierry

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: col1val1/col1col2val2/col2...

how to make it generate this? column name=col1val1columncolumn
name=col2val2column...

2. If my string value of the coulmn contains tags, e.g. html tags like
val1br, will XSP generate a valid xml document?
Re-phrasing: how to make it return this? column
name=col1![CDATA[val1br]]

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]




RE: C2.0.3 ESQL: esql:get-columns/

2002-07-02 Thread Argyn Kuketayev

Thanks

 -Original Message-
 From: Denis Thierry [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 02, 2002 12:03 PM
 To: [EMAIL PROTECTED]
 Subject: Re: C2.0.3 ESQL: esql:get-columns/ 
 Importance: High
 
 
 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: 
 col1val1/col1col2val2/col2...
 
 how to make it generate this? column name=col1val1columncolumn
 name=col2val2column...
 
 2. If my string value of the coulmn contains tags, e.g. html tags like
 val1br, will XSP generate a valid xml document?
 Re-phrasing: how to make it return this? column
 name=col1![CDATA[val1br]]
 
 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]
 

-
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]