Dynamic includes...
Josh Narins <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
Hello Petal People,
I would like to do dynamic includes like this...
$template->process({ extra_content => '/other.xml'})
And have the file referred to by "extra_content" in the href
attribute of this this template:
<xi:include href="" />
or this file attribute of this one...
<?include file=""?>
But I can't seem to get either to work.
Thanks in advance,
Josh Narins
signature.asc
(application/pgp-signature, 232 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFBvJbeqmX4LWzvJuARAmZ6AJ4w7WhT+zm73TvX3m0JjnQnxB44xgCePXs9 hjRQz6w/UFkRK1SMRA8wGxg= =yB9c -----END PGP SIGNATURE-----