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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bart at sabl dot com
New email:
PHP Version: OS:

 

 [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: Mon Apr 29 14:01:30 2024 UTC