Hi France,
Once again, I only tried the latest snapshot. This is what I get:
> curl "http://localhost:8984/cms/ehtml2html5"
<!DOCTYPE html>
<body>
<?php include 'footer/index.html'; >
</body>
Could you try and see if using 8.0 makes a difference?
Thanks,
Christian
On Fri, Nov 21, 2014 at 10:49 PM, France Baril
<france.baril@architextus.com> wrote:
> Hi,
>
> I am trying to output some html that have php instructions, and the
> instructions keep showing as comments.
>
> For example: <body>
>
> <?php include 'footer/index.html'; ?>
> </body>
>
>
> Show up as:
> <body><!--?php include 'footer/index.html';--></body>
>
> Example:
>
> declare %rest:path('/cms/ehtml2html5')
> %rest:GET
> %output:method("html")
> %output:html-version("5.0")...
>
> function xhtmlsrc:view-html5(){ <body>
>
> <?php include 'footer/index.html'; ?>
>
> </body>};
>
>
> What am I missing?
>
> --
> France Baril
> Architecte documentaire / Documentation architect
> france.baril@architextus.com