cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Kachanov" <a...@intadev.com>
Subject RE: Excel serializer for Cocoon !
Date Thu, 29 Nov 2001 10:25:08 GMT
>> But it must done not by me - its work of serializer

It's a work of your stylesheet. 
Just define the data type as attribute in your xml file
and then parse this attribute in your stylesheet
as they do in those classic examples like

<price currency="USD" type="currency">30</price>




with best wishes
Alexander Kachanov

-----Original Message-----
From: Igor Sazhnev [mailto:rattygl@mail.ru]
Sent: 29 ноября 2001 г. 19:20
To: cocoon-users@xml.apache.org
Subject: Re: Excel serializer for Cocoon !



----- Original Message -----
From: "Alex Kachanov" <alex@intadev.com>
To: <cocoon-users@xml.apache.org>
Sent: Thursday, November 29, 2001 11:54 AM
Subject: RE: Excel serializer for Cocoon !


> Why do we need Excel serizalier at all, when you can just change
> content type to excel mime type and any browser will launch excel
> automatically
> and reformat your HTML table as you wish?
one another example :
in my report one column is a number like 23.1 or 45.6
when i simple write in xsl
<td><xsl:value-of select="tralala"/></td>
in what case Excel show me not 23.1 but 23.januar - ie it parse it as
day
and month and properly display 45.6 - because there is no momth with 45
days
in it :))
in that case i must use  vnd.ms-excel.numberformat:#.#;  style in table
cell
to excel display it properly
But it must done not by me - its work of serializer
And again - i need to pass original document formatting to excel (ie
cell ,
border, color etc) - but then i tried to change mime-type it works only
in
msexcell200 but in excel97 - not
And its not all :))


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message