How to combine XPathScript with YAML?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I like XPathScript (AxKit) for transforming XML,
but I would like to use YAML for defining the template-hash.

I put a "PerlModule YAML" in apache httpd.conf and put
%$t= %;
in my XPathScript template.

That works fine, but I also want to put 'testcode' subkeys into the YAML
part. These contain perl subroutnines and I don't know how to load code.
I have seen an option LoadCode in YAML's manpage but I can't figure out
how to use it.


Site Timeline