You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by James Ponder <ja...@db.com> on 2002/06/10 20:20:38 UTC
tables in Execute'd files (headers/footers)
Hi,
I am using Embperl 2.0b7 under CGI, and have a problem with opening a table in a header and closing a table in a footer.
Here are the test scripts - you will note I have tried using optDisableTableScan = 1 as mentioned in the FAQ.
test.epl:
[- Execute('test2.epl') -]
hello
[- Execute('test3.epl') -]
test2.epl:
[- $optDisableTableScan = 1 -]
<html>
<head>
<title>foo</title>
</head>
<body>
<table>
<tr>
<td>
test3.epl:
[- $optDisableTableScan = 1 -]
</td>
</tr>
</table>
</body>
</html>
The output from Embperl is unfortunately:
<html>
<head>
<title>foo</title>
</head>
<body>
<table>
<tr>
<td>
</tr></table>hello
</td>
/tr
/table
</body>
</html>
Any suggestions would be appreciated.
Best wishes, James
--
James Ponder
--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: tables in Execute'd files (headers/footers)
Posted by Gerald Richter <ri...@ecos.de>.
Hi,
>
> I am using Embperl 2.0b7 under CGI, and have a problem with opening a
table in a header and closing a table in a footer.
>
> Here are the test scripts - you will note I have tried using
optDisableTableScan = 1 as mentioned in the FAQ.
>
When using EMbperl 2, always check README.v2 first:
- The following options are currently not supported:
optDisableHtmlScan, optDisableTableScan,
optDisableInputScan, optDisableMetaScan
optDisableHtmlScan can be replaced by switching the syntax, e.g.
[$syntax EmbperlBlocks $] # same as [- $optDisableHtmlScan = 1 -]
(here goes your code - Embperl will not interpret any html tags here)
[$syntax Embperl $] # same as [- $optDisableHtmlScan = 0 -]
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org