php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52470 XSLTProcessor allows only import/include of one XSL stylshet
Submitted: 2010-07-28 14:22 UTC Modified: 2013-12-02 11:44 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: borislavmaric at boro dot org Assigned:
Status: Open Package: XSLT related
PHP Version: Irrelevant OS: Linux/Unix
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-07-28 14:22 UTC] borislavmaric at boro dot org
Description:
------------
When procesing one XSLT stylesheet that try to import multiple XSTL stylesheets
displays only the last one.

Test script:
---------------
$xslDoc = new DOMDocument();
$xslDoc->load("XML/index.xsl");

$xmlDoc = new DOMDocument();
$xmlDoc->load("XML/index.xml");

$proc = new XSLTProcessor();
$proc->importStylesheet($xslDoc);
echo $proc->transformToXML($xmlDoc);

Expected result:
----------------
to import more then one XSLT stylesheet

Actual result:
--------------
display only the last XSLT stylesheet

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-12-02 11:44 UTC] mike@php.net
-Type: Bug +Type: Feature/Change Request
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Nov 13 14:01:29 2019 UTC