Re: PHP 4.0 Bug #8109: xslt_outout_begintransform() doesn't nest
| From: | Sterling Hughes | Date: | Tue, 05 Dec 2000 08:54:01 +0000 |
| Subject: | Re: PHP 4.0 Bug #8109: xslt_outout_begintransform() doesn't nest | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40087@lists.php.net to get a copy of this message | ||
No, its actually because sablotron doesn't support output transformation
nesting. ;)
You can process as many documents as you very well please at the same time using
the simple api, and the advanced, resouce based api with PHP supports individual
instances of sablotron processors.
regards,
Sterling
> 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
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>