F
franz
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= %{YAML::Load(<<'...')};
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.
greetz,
franz
but I would like to use YAML for defining the template-hash.
I put a "PerlModule YAML" in apache httpd.conf and put
%$t= %{YAML::Load(<<'...')};
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.
greetz,
franz