PHP 4.0 Bug #8109: xslt_outout_begintransform() doesn't nest
| From: | bart at sabl dot com | Date: | Tue, 05 Dec 2000 07:27:13 +0000 |
| Subject: | PHP 4.0 Bug #8109: xslt_outout_begintransform() doesn't nest | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40082@lists.php.net to get a copy of this message | ||
From: bart@sabl.com
Operating system: redhat 6.2 linux 2.2.17
PHP version: 4.0.3pl1
PHP Bug Type: Sablotron XSL
Bug description: xslt_outout_begintransform() doesn't nest
imagine a situation of the form:
<? # target a specific user agent
xslt_output_begintransform("agentN.xsl");
?>
<content>
how now brown cow
<? # transform an sql result set into an html table
xslt_output_begintransform("table.xsl");
?>
<result>
<row><col>one</col><col>two</col></row>
<row><col>1</col><col>2</col></row>
</result>
<? xslt_output_endtransform(); ?>
</content>
<? xslt_output_endtransform(); ?>
this might easily be desired (as i do), but it doesn't work. perhaps it's because
sablotron doesn't allow more than one concurrent xslt processor.
the errors that result are odd indeed, like the second filename string being smashed before its use.
--
Edit Bug report at: http://bugs.php.net/?id=8109&edit=1