php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #8109 xslt_outout_begintransform() doesn't nest
Submitted: 2000-12-05 02:27 UTC Modified: 2001-09-06 17:38 UTC
From: bart at sabl dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.3pl1 OS: redhat 6.2 linux 2.2.17
Private report: No CVE-ID: None
 [2000-12-05 02:27 UTC] bart at sabl dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-16 06:32 UTC] sterling@php.net
Is designed this way, move to feature/change request..
 [2001-09-06 17:38 UTC] sterling@php.net
and it won't :)))

Please use the new XSLT extension (which doesn't have output transformations...)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC