Re: Cocoon to csv not excel
Using XSLT with the text serializer should do it. Just wrap your CSV content with a single node which will be ignored by the text serializer: root 1,bill 2,sid 3,sue /root and map:match pattern=xx map:generate ... map:transform... map:serialize type=text/ /map:match Regards, Upayavira On 27 Jun 2003 at 9:33, Tim Bachta wrote: Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon to csv not excel
So can I use an xsl to create the node? I have a xsp that creates an xml file that I don't want to change. Tim Bachta -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon to csv not excel Using XSLT with the text serializer should do it. Just wrap your CSV content with a single node which will be ignored by the text serializer: root 1,bill 2,sid 3,sue /root and map:match pattern=xx map:generate ... map:transform... map:serialize type=text/ /map:match Regards, Upayavira On 27 Jun 2003 at 9:33, Tim Bachta wrote: Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon to csv not excel
On 27 Jun 2003 at 9:55, Tim Bachta wrote: So can I use an xsl to create the node? I have a xsp that creates an xml file that I don't want to change. Yup. Use XSLT to transform your source XML into a CSV file wrapped by a single node, then pass it to the text serializer. Regards, Upayavira -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon to csv not excel Using XSLT with the text serializer should do it. Just wrap your CSV content with a single node which will be ignored by the text serializer: root 1,bill 2,sid 3,sue /root and map:match pattern=xx map:generate ... map:transform... map:serialize type=text/ /map:match Regards, Upayavira On 27 Jun 2003 at 9:33, Tim Bachta wrote: Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon to csv not excel
On 27 Jun 2003 at 9:55, Tim Bachta wrote: So can I use an xsl to create the node? I have a xsp that creates an xml file that I don't want to change. Yup. Use XSLT to transform your source XML into a CSV file wrapped by a single node, then pass it to the text serializer. Regards, Upayavira -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon to csv not excel Using XSLT with the text serializer should do it. Just wrap your CSV content with a single node which will be ignored by the text serializer: root 1,bill 2,sid 3,sue /root and map:match pattern=xx map:generate ... map:transform... map:serialize type=text/ /map:match Regards, Upayavira On 27 Jun 2003 at 9:33, Tim Bachta wrote: Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]