Sean T. Allen wrote:

> With yours wouldnt I have to add custom xsl format
> tags in the output for the template so that when
> it gets passed to build_excel, it can parse
> again and call the appropriate format routines?

Not at all. How did xsl get involved in this? You haven't mentioned it
before.

> I was thinking more along the lines of being able
> to apply formatting information via the template
> itself... say with a plugin...

I see a couple different scenarios here...

1. Your data doesn't have formatting information in it, but you want it
applied in a manner consistent enough to be able to hardcode it in your
SS::WE code.
2. Your data doesn't have formatting information in it, but you have to
present it in various Excel "looks" and you want to be able to choose them
at runtime (perhaps via a value in the data)
3. Your data doesn't have formatting information in it, but you want it to
be styled arbitrarily by users as if they could run amok with the Excel
application's formatting commands.
4. Your data _does_ have formatting information in it, and you need to
interpret it and style the spreadsheet appropriately.

My straightforward example assumed #1. Perhaps you were thinking of one of
the others?

-Mark.


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to