[PHP] XSLTProcessor issue

2010-03-21 Thread Tom
I have located what appears to me to be bug in the XSLTProcessor in PHP5.2.13 but want to insure that I am not overlooking something before reporting it. Any advice will be appreciated. The issue is apparent discrepancies in output sort order in an XSLTProcessor generated list. Following is a deta

[PHP] XSLTProcessor: need interface to libxslt´s xsltDocL oaderFunc

2009-10-16 Thread Felix Siglreithmaier
Hi, in the Java Xalan XSLT processor there is an URIResolver object to resolve URIs used in xsl:include, xsl:import, etc. http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/class-use/URIResolver.html With this URIResolver you can comfortably implement your own logic to load external resour

Re: [PHP] XSLTProcessor help

2009-02-17 Thread Tom Sparks
nts.html From: Siegfried Gipp To: php-general@lists.php.net Sent: Tuesday, 17 February, 2009 10:12:11 PM Subject: Re: [PHP] XSLTProcessor help On Monday, 16. February 2009 11:49:23 Tom Sparks wrote: > help, when I include > the XSLTProcessor only strips the XML ta

Re: [PHP] XSLTProcessor help

2009-02-17 Thread Siegfried Gipp
On Monday, 16. February 2009 11:49:23 Tom Sparks wrote: > help, when I include > the XSLTProcessor only strips the XML tags and outputs the text see result That is the xsl default behaviour. You need templates to do anything other with xml elements than just digging deeper. This is somewhat lik

[PHP] XSLTProcessor help

2009-02-16 Thread Tom Sparks
help, when I include the XSLTProcessor only strips the XML tags and outputs the text see result --cut here result-- Hyalearl, 100-ton Sulieman-Class Scout/Courier 2008 03 10 All rights reserved 2008 Onno Meyer n...@none.com 10 Traveller 1.0 -

Re: [PHP] XSLTProcessor without validation

2008-02-18 Thread Richard Lynch
On Fri, February 15, 2008 12:54 am, Siegfried Gipp wrote: > Am Donnerstag, 14. Februar 2008 21:01:42 schrieb Richard Lynch: > >> You could also consider filing a "Feature Request" in >> http://bugs.php.net/ > Well, the bug reporting page has a bug. A graphical captcha is needed, > but > there is

Re: [PHP] XSLTProcessor without validation

2008-02-16 Thread Siegfried Gipp
Am Freitag, 15. Februar 2008 15:35:02 schrieb Andrew Ballard: > It's there for me as well. (Firefox and IE6, Windows XP). Any chance you've > got a browser plugin or other "feature" that is blocking the image? I just tried it with Firefox in safe mode, same result: No captcha. -- PHP General Mai

Re: [PHP] XSLTProcessor without validation

2008-02-16 Thread Siegfried Gipp
Am Freitag, 15. Februar 2008 15:35:02 schrieb Andrew Ballard: > It's there for me as well. (Firefox and IE6, Windows XP). Any chance you've > got a browser plugin or other "feature" that is blocking the image? I thought it was privoxy, but i tried without proxy and had the same result. I copied

Re: [PHP] XSLTProcessor without validation

2008-02-15 Thread Andrew Ballard
On Fri, Feb 15, 2008 at 3:31 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote: > 2008. 02. 15, péntek keltezéssel 07.54-kor Siegfried Gipp ezt írta: > > Am Donnerstag, 14. Februar 2008 21:01:42 schrieb Richard Lynch: > > > > > You could also consider filing a "Feature Request" in > > > http://bugs.php.

Re: [PHP] XSLTProcessor without validation

2008-02-15 Thread Zoltán Németh
2008. 02. 15, péntek keltezéssel 07.54-kor Siegfried Gipp ezt írta: > Am Donnerstag, 14. Februar 2008 21:01:42 schrieb Richard Lynch: > > > You could also consider filing a "Feature Request" in > > http://bugs.php.net/ > Well, the bug reporting page has a bug. A graphical captcha is needed, but >

Re: [PHP] XSLTProcessor without validation

2008-02-14 Thread Siegfried Gipp
Am Donnerstag, 14. Februar 2008 21:01:42 schrieb Richard Lynch: > You could also consider filing a "Feature Request" in > http://bugs.php.net/ Well, the bug reporting page has a bug. A graphical captcha is needed, but there is no such captcha. Repetitive loading does not change this. From an acc

Re: [PHP] XSLTProcessor without validation

2008-02-14 Thread Siegfried Gipp
Am Donnerstag, 14. Februar 2008 21:01:42 schrieb Richard Lynch: > You may want to try using http://php.net/exec to run your command line > tool and ignore the PHP one, if it won't let you turn off validation. Yes, that's what i'm going to do for now. But that won't help if an internet provider do

Re: [PHP] XSLTProcessor without validation

2008-02-14 Thread Richard Lynch
On Thu, February 14, 2008 4:24 am, Siegfried Gipp wrote: > i still got no answer. Maybe i did not see it, altough i'm trying to > read any > single post. But may be i overlooked it due to high traffic. So now i > have > set up a filter (hopefully) copying answers to another folder. > > Here is the

[PHP] XSLTProcessor without validation

2008-02-14 Thread Siegfried Gipp
Hi, i still got no answer. Maybe i did not see it, altough i'm trying to read any single post. But may be i overlooked it due to high traffic. So now i have set up a filter (hopefully) copying answers to another folder. Here is the question: Is it possible to disable validation when using XSLT

[PHP] XSLTProcessor->transformToURI() error handling

2007-01-28 Thread Jason Karns
If there is a failure in 'XSLTProcessor->transformToURI()' (it returns false) is nothing written to the file specified? I ask because I'm implementing a caching system. I'm having the output written to a cache file and want to be guaranteed that in case of error, the specified file remains as it wa

Re: [PHP] xsltprocessor

2005-07-31 Thread Allan Jardine
Hi, The problem is then applying the xsl transform to what is in that variable. It appears to transform everything in $xml, rather than just what is in $content. Managed to solve my own problem... Using: $content = $proc->transformToXML(DomDocument::loadXML($content)); To create an xml do

Re: [PHP] xsltprocessor

2005-07-31 Thread Allan Jardine
Hi, you might start by using some braces to explicitly delineate the if and foreach block? ...personally I'm not sure exactly what your code should be doing. Putting the brackets in doesn't make any difference. That part of the code appears to work perfectly - what it does is scan through

Re: [PHP] xsltprocessor

2005-07-31 Thread Jochem Maas
Allan Jardine wrote: Hello all, I'm having a real problem with applying an xslt transform to a selected part of an xml document. I load the xml document using simplexml_load_file, and the same with the xsl file. Using the xpath function for simplexml I select a part of the xml document and

[PHP] xsltprocessor

2005-07-31 Thread Allan Jardine
Hello all, I'm having a real problem with applying an xslt transform to a selected part of an xml document. I load the xml document using simplexml_load_file, and the same with the xsl file. Using the xpath function for simplexml I select a part of the xml document and store it in a diffe