Re: maxvars
Bjoern Hoehrmann <[email protected]> Wed, 07 Jan 2015 23:17:56 +0100
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
* Thomas Krichel wrote: > A bit of background. I have information in XML that I want to send out > in an email. The email should support plain text and html. I want > to use a template to generate the plain text. This involves splitting > text across lines. I am not aware of other ways to do that than using > a recursive template. There I need to create several variable at each > recursion. Thus I quickly deplete the variable stock. = You can write complicated functions in Perl using `register_function`. I forget whether there is a way to check in the XSLT whether a Perl helper function is available (and use the XSLT-only version otherwise). Also it might be an option to use http://exslt.org/ extension functions. I would consider that for performance and stability reasons in any case. -- = Bj=F6rn H=F6hrmann =B7 mailto:[email protected] =B7 http://bjoern.hoehrma= nn.de D-10243 Berlin =B7 PGP Pub. KeyID: 0xA4357E78 =B7 http://www.bjoernsworld.de Available for hire in Berlin (early 2015) =B7 http://www.websitedev.de/ = _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs