[Petal] Dynamic includes...

Josh Narins josh at narins.net
Sun Dec 12 19:07:10 GMT 2004


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.webarch.co.uk/pipermail/petal/attachments/20041212/08c93736/attachment.bin


More information about the Petal mailing list