[Templates] unexpected token
[prev]
[thread]
[next]
[Date index for 2004/10/04]
Hello,
I'm parsing an XML response from a webservice, sending
it through XML::Simple to produce a representation of
the XML in a Perl data structure. The resulting hash I
get sometimes includes keys with a colon in them. When
I wish to use a value in my template, I get an
unexpected token error - i.e. [% output.CD:X.closeTime
%] - I've attempted to surround the "CD:X" part with
various quotes, but nothing seems to work. Is there
anything I can do, short of pre-processing the XML
response?
I'd appreciate anything you can suggest,
-joss
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] unexpected token
fdsfds fdsfddsf 10:45 on 04 Oct 2004
|