|
|
Re[2]: XML::Simple, encoding, latin1: msg#00104
|
Subject: |
Re[2]: XML::Simple, encoding, latin1 |
> What about a filter
Thanks for the snippet, it works.
I've used a similar method but without a filter:
[% st = BLOCK %]
title: [% xdoc.title %]
.. etc ...
[% END %]
[% st.latin1 %]
the problem is that you can use 'xdoc' variable not only in one template, and
sometimes in perl modules(template plugins), that's why I wanted a solution that
traverse the 'xdoc' data structure and '.latin1' its elements.
Peharps if I would really need that I'll do it myself and post the solution
here:
(the simplest method is to recursively traverse the xdoc)
Thanks Gavin.
|
| |