Re: [PHP] PHP XSLT caching

2008-10-28 Thread Aschwin Wesselius
vladimirn wrote: Hi all, i was wondering whats the best approach to do next. I have an xml file delivered from service of my partner. On my web server (windows) i have xslt files used for xml transformation. Those files are getting bigger, so i have request to cash them and use cashed. I was t

Re: [PHP] PHP XSLT caching

2008-10-27 Thread Bastien Koert
Jessen, Zürich > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > View this message in context: > http://www.nabble.com/PHP-XSLT-caching-tp2017

[PHP] Re: PHP XSLT caching

2008-10-27 Thread Colin Guthrie
vladimirn wrote: I have one simple question, actually i am interested in your point of view. Is there any sense in caching xslt itself? If so, then why? If not, then again why? :) I think that there is no sense, and that xslt output should be cached. What do you think? From your original contex

Re: [PHP] PHP XSLT caching

2008-10-27 Thread vladimirn
>> cashed. > > Your xslt files are source code, so why is there a need to cache them? > > > /Per Jessen, Zürich > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > &g

Re: [PHP] PHP XSLT caching

2008-10-26 Thread Per Jessen
vladimirn wrote: > i was wondering whats the best approach to do next. > I have an xml file delivered from service of my partner. On my web > server (windows) i have xslt files used for xml transformation. > Those files are getting bigger, so i have request to cash them and use > cashed. Your xs

[PHP] Re: PHP XSLT caching

2008-10-26 Thread Colin Guthrie
vladimirn wrote: Thank you Col I will go into Zend_Cache as you suggested. One more thing- does Zend_Cache saces data into file or use a server memory? As I said in my original mail, but perhaps wasn't clear, Zend_Cache can support file, memcache, APC and other backends. Col -- Colin Guthr

Re: [PHP] PHP XSLT caching

2008-10-26 Thread vladimirn
p://www.mandriva.com/] >PulseAudio Hacker [http://www.pulseaudio.org/] >Trac Hacker [http://trac.edgewall.org/] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- View this message in context: http://www.nabble.com/PHP-XSLT-caching-tp20173225p20174548.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP XSLT caching

2008-10-26 Thread Colin Guthrie
vladimirn wrote: Hi all, i was wondering whats the best approach to do next. I have an xml file delivered from service of my partner. On my web server (windows) i have xslt files used for xml transformation. Those files are getting bigger, so i have request to cash them and use cashed. I was t

[PHP] PHP XSLT caching

2008-10-26 Thread vladimirn
ideas :) LOL sure, if someone already have a good working solution i would appreciate any link or code :0) Greetings, V -- View this message in context: http://www.nabble.com/PHP-XSLT-caching-tp20173225p20173225.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General

Re: [PHP] XSLT and DocBook

2007-06-09 Thread Larry Garfield
Yes, I said PHP 5.2 specifically. :-) I did find this: http://us2.php.net/manual/en/function.dom-domdocument-xinclude.php So I'm figuring that XInclude is safe, assuming I give it enough RAM. (It's not a small dataset.) I'm not sure how multi-file output would work, though, given the API. EX

Re: [PHP] XSLT and DocBook

2007-06-09 Thread Richard Lynch
I believe PHP 5 support for XML is pretty darn good. If you're in PHP 4, forget it... There's like 3 different XML libraries, all with warts, and I'm pretty sure none of them support the fancy stuff you need. On Thu, June 7, 2007 1:02 am, Larry Garfield wrote: > Hi all. I have a DocBook source[1

Re: [PHP] XSLT and DocBook

2007-06-07 Thread Myron Turner
Larry Garfield wrote: Hi all. I have a DocBook source[1] that I am processing into XHTML using the DocBook XSL[2] toolchain. That is, XSLT. I'm not doing a huge amount of customization on top of the default setup, either. Right now, I'm using the standard XSLT Java toolchain; Xalan, Xerces,

[PHP] XSLT and DocBook

2007-06-06 Thread Larry Garfield
Hi all. I have a DocBook source[1] that I am processing into XHTML using the DocBook XSL[2] toolchain. That is, XSLT. I'm not doing a huge amount of customization on top of the default setup, either. Right now, I'm using the standard XSLT Java toolchain; Xalan, Xerces, XIncluder, and all of

RE: [PHP] XSLT WYSIWYG?

2006-06-28 Thread Chris Boget
> Perhaps, though, there is some magical PHP WYSIWYG > tool out there to compare the HTML and the XML and > make an XSLT for me?... It's not PHP based, but XMLSpy will do exactly what you need. thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

[PHP] XSLT WYSIWYG?

2006-06-28 Thread Richard Lynch
So... I have this XML feed. And I have this page that already implements this XML feed. And I'm supposed to "duplicate" that functionality. I'm sitting here with this mess of loops and arrays and whatnot trying to transform the XML into the HTML. Now, I know that XSLT is supposed to be able to

Re: [PHP] XSLT issue

2006-05-04 Thread Dave Goodchild
Why would I want to mess with the xml file like that? I use it in other places. The actual xslt solution I came up with (with assistance) is the preferred one. On 04/05/06, Richard Lynch <[EMAIL PROTECTED]> wrote: $xml = "blah balh blah"; $tournaments = explode("", $xml); $tournaments = array

Re: [PHP] XSLT issue

2006-05-04 Thread Richard Lynch
$xml = "blah balh blah"; $tournaments = explode("", $xml); $tournaments = array_slice($tournaments, 0, 3); //maybe 4 $xml = implode("", $tournaments); $xml .= "\n"; "Crude, but effective Captain" -- Spock On Wed, May 3, 2006 5:40 am, Dave Goodchild wrote: > Hi all, maybe slightly off list but

Re: [PHP] XSLT issue

2006-05-03 Thread T.Lensselink
> Thank you very much for your generous and prompt help. The stylesheet I am > now using looks like this: > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> > > > > > Results of XSL transformation > > @import url(games_output.css); > >

Re: [PHP] XSLT issue

2006-05-03 Thread Dave Goodchild
Thank you very much for your generous and prompt help. The stylesheet I am now using looks like this: http://www.w3.org/1999/XSL/Transform";> Results of XSL transformation @import url(games_output.css);

Re: [PHP] XSLT issue

2006-05-03 Thread T.Lensselink
> And I used this: > > > > > > > Tid select="tid" /> > Type /> > Game select="game" /> > Buy-In$ /> > Status select="state" /> >

Re: [PHP] XSLT issue

2006-05-03 Thread Dave Goodchild
And I used this: Tid Type Game Buy-In$ Status Players Date / Time

Re: [PHP] XSLT issue

2006-05-03 Thread Dave Goodchild
Thanks for our help. Tried both methods and I get this: *Warning*: Sablotron error on line 31: XML parser error 4: not well-formed (invalid token) in */home/stevemas/public_html/dg/xslt/xslt_processor.php*on line *14* On 03/05/06, T.Lensselink <[EMAIL PROTECTED]> wrote: > Hi all, maybe slightl

Re: [PHP] XSLT issue

2006-05-03 Thread T.Lensselink
> Hi all, maybe slightly off list but I AM using php and Sablotron to > generate > xslt. > > I have a live poker games feed that takes the following format: > > > > 10035522 > Texas Holdem > Texas Holdem Poker > 5 > 0.5 > USD > Running > 110 > Normal NL 1 >

[PHP] XSLT issue

2006-05-03 Thread Dave Goodchild
Hi all, maybe slightly off list but I AM using php and Sablotron to generate xslt. I have a live poker games feed that takes the following format: 10035522 Texas Holdem Texas Holdem Poker 5 0.5 USD Running 110 Normal NL 1 Regular No Limit 2006-04-24T07:00:00

[PHP] XSLT doesn't work anymore

2005-12-30 Thread Tobi Reif
Hi Can anyone help me with this issue? http://marc.theaimsgroup.com/?l=php-general&m=113456345526736&w=2 Tobi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XSLT doesn't work anymore since PHP has been upgraded from 5.0.3 to 5.1.1

2005-12-14 Thread Tobi Reif
Hi My ISP upgraded from 5.0.3 to 5.1.1. Since then, XSLT (at least my script which uses it) doesn't work anymore. The first error message on http://www.pinkjuice.com/hayashi/materials/ is Warning: XSLTProcessor::importStylesheet() [function.importStylesheet]: Undefined variable in /[..

[PHP] XSLT Processing w/ Embedded PHP Strips Trailing '?'

2005-12-03 Thread Michael B Allen
If I run an xslt processor on some xml w/ PHP in it, the closing '?' gets removed: Username: "; } else { echo ""; } echo ""; > Would anyone happen to know why this is happening? I'm using xmlproc from libxslt-1.1.11. Thanks, Mike original XML input: Username: ";

Re: [PHP] XSLT processor and xsl:param - expected behavior?

2005-06-09 Thread Christian Stocker
On 6/9/05, John Browne <[EMAIL PROTECTED]> wrote: > Question.. I'm using PHP 5.0.4 with the built-in libxslt-based xsl > extension. I'm passing XSL parameters to the XSL processor like so: > > $xslt_proc->setParameter('', 'param_test', "some test value"); > > My question is, is it *required* to

[PHP] XSLT processor and xsl:param - expected behavior?

2005-06-09 Thread John Browne
Question.. I'm using PHP 5.0.4 with the built-in libxslt-based xsl extension. I'm passing XSL parameters to the XSL processor like so: $xslt_proc->setParameter('', 'param_test', "some test value"); My question is, is it *required* to declare this parameter in the XSL stylesheet with: What I h

[PHP] XSLT solution

2005-03-18 Thread Devraj Mukherjee
Hi everyone, I have been very intrigued by the way Gentoo.org offers its documentation. The documents are stored using a series of XML files and are delivered via XSLT via some ruby scripts. Are there any similar frameworks, solutions availble for the PHP world? Devraj -- Devraj Mukherjee ([EMAI

[PHP] PHP & XSLT question

2004-11-29 Thread Lists
I'm presently reading "Using XSLT" and have created their examples using PHP and sablotron to render HTML from XML and an XSL template. I understand the value of using XSLT to render XML, but what is the advantage or reasons for generating XML from a database and rendering it to HTML using XSLT

[PHP] xslt fucntions

2004-11-04 Thread lists
hi wondering if anyone can help me with this one... im running php 4.3.9 on windows 98. im tryin to get the xslt functions working. i have follwed the instructions here: http://sniptools.com/vault/sablotron-xslt-php-apache-on-windows-and-a-basic-xslt-tutorial.htm i still am not getting them worki

[PHP] XSLT select syntax

2004-08-09 Thread Pasha Zubkov
Hi, In php5.0.0 I can use next select syntax: but in php5.1.0-dev I see this warning Warning: XSLTProcessor::transformToDoc() [function.transformToDoc]: Invalid type in /mnt/data/www/html/web/Includes/Theme.php on line 117 Warning: XSLTProcessor::transformToDoc() [function.transformToDoc]: runtim

[PHP] XSLT bug?

2004-04-02 Thread Vincent Jansen
Don't know if this is the best place to post. I'm also not shure if this is a problem with the PHP implementation or it's something a bug in libxslt. But here's the deal. (I use php5.0.0RC1 for testing on winXP) This works: And this doesn't: Seems to me the < gets interp

[PHP] XSLT in php v5 beta 4

2004-02-19 Thread Steve Dieke
I am guesing that I have installed something incorrectly. I am trying to use the function xslt_create(). I installed php v5 Beta 4 successfully. but when I try to use the function xslt_create() I get the following error: Fatal Error: Call to undefined function xslt_create() I have a test php pa

[PHP] XSLT not doing anything

2003-06-08 Thread David Feldman
I'm trying to get the XSLT extension working, and all I can get it to do is echo the source XML back to me. I'm using sample markup from O'Reilly's XSLT book as my XML and XSL files, as follows: hello.xml: Hello, world! hello.xsl: http://www.w3.org/1999/XSL/Transform";

[PHP] XSLT processing DocBook files -> FO

2003-03-25 Thread Colin Viebrock
I'm trying to automatically convert DocBook XML files into PDFs using PHP and the XSLT extension. First step is to convert them into FO, but I'm running into trouble with this script: 'USletter', 'page.orientation' => 'portrait', ); $html = xslt_process($xslt, $xml, $xsl, NULL, $args,

[PHP] xslt without sabletron

2003-03-04 Thread Gurvinder Singh
hi my hosting service doesnt provide xslt module for php. but i need to use xslt in php. what can i do ? thnx Gurvinder -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XSLT Transformation

2002-12-28 Thread Khalid El-Kary
Hi, Do you mean that the XSL style sheet is printed instead of the transformation result? if that's the case, i have faced the same problem, and at that time it was because of the "xsl:" namespace check it to verify it's correct, there's a deprecated on of it that you may be using and sablotron

[PHP] XSLT Transformation

2002-12-28 Thread Boris Kolev
Hello php-general, I have a problem with XSLT Transformation. I have in one page HTML that is in my php page and one $result - where i transform one XSLT file. When php show HTML - no problems but when i print $result after HTML iyt can be read. In XSLT and XML i use UTF-8 ecnoding after

[PHP] XSLT support for RH8

2002-11-27 Thread Dan Kuykendall
I cannot seem to get RH8 to to compile XSLT support. Has anyone else gotten this to work? Anyone with the resulting php-xslt rpm? Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] xslt question

2002-11-15 Thread Hatem Ben
hey all I'm using xslt_process(), and noticed that it add a meta just after the : Where can i change it, or desactivate it ? thanks Hatem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XSLT failing when DOCTYPE declaration present

2002-11-07 Thread Chris Wesley
I'm using the xslt capabilities in PHP 4.2.2 and running into an odd problem. I'm transforming an XML document which has a DOCTYPE declaration referencing an external DTD. http://my.host.org/foo.dtd";> When I have xslt_process() attempt to transform the XML document, with an XSL document I provi

[PHP] XSLT Sablotron output

2002-11-02 Thread Daniele Baroncelli
Hi guys, I have typed a simple script to test the Sablotron module recently installed. I found out that the HTML is output all in one line, without newlines, which is very annoying. Anyone can tell me if this is a bug of the module, or I have to specify something somewhere? Here is the script on

Re: [PHP] XSLT

2002-09-25 Thread Geoff
I was able to pass parameters to the xsl stylesheet like this: Then in the stylesheet do this (The parameter must be defined before any template is declared): http://www.w3.org/1999/XSL/Transform";> Your html page This will print "parameter_to_pass" to the browser On Tue, 2002-09

[PHP] XSLT

2002-09-24 Thread ninti
I'm wondering if there is a way to include a query string parameter in an xsl stylesheet. I have a script that does this: xslt_process($xsltprocessor,$xml,$xsl); I'd like to include the value of a variable passed to this script via a query string (eg. xmlscript.php?p=3 ), whereby the value '3'

Re: [PHP] XSLT and PHP

2002-09-24 Thread Michael Sims
On 24 Sep 2002 10:22:41 -0500, you wrote: >What I am looking for is either a way to use includes in xsl stylesheets >or something like Fusebox layouts for xml/xsl. Thank you You may get better answers if you post this in comp.text.xml... -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] XSLT and PHP

2002-09-24 Thread Geoff
I have been impressed with using the xslt functions in php in that it gives you the ability to separate content from presentation. Now I am looking to streamline this technique. Typically I either take xml that is in a file or generated by a class from a sql query and transform it with an xsl fi

Re: [PHP] XSLT - Sablotron

2002-09-05 Thread Chris Wesley
On Thu, 5 Sep 2002, Devin Atencio wrote: > I am trying to find out a way I can pass a variable that is basically > an XML document to xslt_process and make it all work. My script $xmldata = ""; $xsltArgs = array( '/_xml' => $xmlStr ); $xp = xslt_create(); $result = xslt_process( $xp, 'arg:/_xml'

[PHP] XSLT - Sablotron

2002-09-05 Thread Devin Atencio
I am trying to find out a way I can pass a variable that is basically an XML document to xslt_process and make it all work. My script works if I have: $xp = xslt_create(); $result = xslt_process($xp, 'test.xml', 'test.xsl'); however, if I try to do: $xp = xslt_create(); $result = xslt_

Re: [PHP] xslt extensions

2002-08-20 Thread Tom Rogers
Hi, Wednesday, August 21, 2002, 8:26:29 AM, you wrote: G> Is there a soul who has the xslt extensions compiled with php 4.2.2, G> sablotron 0.95 and expat 1.95.4 and working on Linux who is willing to G> give me some tips? G> I have tried the suggestions here: G> http://www.php.net/manual/en/re

[PHP] xslt extensions

2002-08-20 Thread Geoff
Is there a soul who has the xslt extensions compiled with php 4.2.2, sablotron 0.95 and expat 1.95.4 and working on Linux who is willing to give me some tips? I have tried the suggestions here: http://www.php.net/manual/en/ref.xslt.php here: http://phpfaq.info/#id98 and the patches here: http:

[PHP] xslt extension unable to find files on windows 95

2002-05-24 Thread Sukhwinder Singh
Hello, I am using php 4.2.0 and apache 2.0 on win95. I am facing some problems with xslt extension. Nobody replied at [EMAIL PROTECTED] Problem is that xslt processor is unable to find the xml and xsl files. Files are in the same directory as the php file and document_root is e:\wwwroot\newsite.

[PHP] xslt extension unable to find files (Php 4.2.0, Windows 95)

2002-05-23 Thread Sukhwinder Singh
Hello, I am using php 4.2.0 and apache 2.0 on win95. I am facing some problems with xslt extension. Noone replied at [EMAIL PROTECTED] Problem is that xslt processor is unable to find the xml and xsl files. Files are in the same directory as the php file and document_root is e:\wwwroot\newsite.

[PHP] XSLT and DOM

2002-03-29 Thread Sean P . Scanlon
Can anyone tell me why this is not working? -- snip of xslt_processor.php $doc = new_xmldoc("1.0"); $root = $doc->add_root("debug"); $head = $root->new_child("broswer", "1"); $head->set_attribute("key", "UserAgent"); $head->s

RE: [PHP] XSLT; XML => PHP code

2002-03-28 Thread Darren Gamble
terminate. Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 3:20 PM To: Darren Gamble Cc: [EMAIL PROTECTED] Subject

Re: [PHP] XSLT; XML => PHP code

2002-03-28 Thread Erik Price
On Thursday, March 28, 2002, at 04:52 PM, Darren Gamble wrote: > Good day, > > To have PHP evaluate string contents as an expression, use eval(). Thanks for the pointer, I have never used this function before. I'm not sure what it means by "as with any function that outputs directly to the

RE: [PHP] XSLT; XML => PHP code

2002-03-28 Thread Darren Gamble
-4948 -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 2:47 PM To: [EMAIL PROTECTED] Subject: [PHP] XSLT; XML => PHP code I am using XSLT functions in PHP to transform a string (whose data is a string of XML) into another string. Ideally,

[PHP] XSLT; XML => PHP code

2002-03-28 Thread Erik Price
I am using XSLT functions in PHP to transform a string (whose data is a string of XML) into another string. Ideally, the second string will consist of PHP code. I would like this outputted PHP code to be executed within the same script as the that which performs this transformation. Here is

Re: [PHP] XSLT parsing causes "passed by reference" error

2002-03-18 Thread Erik Price
On Friday, March 15, 2002, at 06:46 PM, Edward Tanguay wrote: > I have this hosted at my ISP. The phpinfo() shows that they have: > > Linux 2.4.3 > PHP Version 4.0.4pl1 > Sablotron XSLT support: enabled > > Which annotations are you refering to? > Ask them if they will upgrade to a PHP 4.1.x v

Re: [PHP] XSLT parsing causes "passed by reference" error

2002-03-15 Thread Edward Tanguay
Hello Erik, I have this hosted at my ISP. The phpinfo() shows that they have: Linux 2.4.3 PHP Version 4.0.4pl1 Sablotron XSLT support: enabled Which annotations are you refering to? The odd thing is that I have copied the code from two different examples from the web and both give me this same

Re: [PHP] XSLT parsing causes "passed by reference" error

2002-03-14 Thread Erik Price
On Wednesday, March 13, 2002, at 06:13 PM, Edward Tanguay wrote: > Fatal error: Only variables can be passed by reference in > /home/tanguay/test/testxslt.php on line 7 > > when I run this code: > > > // Allocate a new XSLT processor > $xh = xslt_create(); > > // Process the document, returnin

[PHP] XSLT parsing causes "passed by reference" error

2002-03-13 Thread Edward Tanguay
I get the error: Fatal error: Only variables can be passed by reference in /home/tanguay/test/testxslt.php on line 7 when I run this code: \n"; print "\n"; print $result; print "\n"; } else { print "Sorry, sample.xml could not be transformed by sample.xsl into"; print " the

[PHP] xslt encoding problem

2002-03-10 Thread Mike Eynon
Howdy all. I am trying to use the new XSLT translation stuff in 4.1.1 with Win2k and IIS running ISAPI. When I try to run even the simplest example, I get the following error: > unknown encoding '' 62 < I have tried specifying the encoding in both the XML and XSL files

[PHP] XSLT in PHP

2002-01-02 Thread Emile Bosch
Hi List, XSLT seems to be such an hot topic these days now i tried it out and i find it cool too. But is there anyway how i can make XSLT less strict? When i make a stylesheet XSLT is too picky..I can't make an XSLT stylesheet very fast because you have to close everything correct etc.. When i de

Re: [PHP] xslt function documentation

2001-11-17 Thread Papp Gyozo
OK, I found some hints in the annotated manual. BTW, I'm looking for hearing any comments on this ... - Original Message - From: "Papp Gyozo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 17, 2001 11:19 AM Subject: [PHP]

[PHP] xslt function documentation

2001-11-17 Thread Papp Gyozo
Hi, I'd like to know if someone out there knows a good tutorial or some simple examples about how to use xslt functions. The manual says the xslt ext is in experimental phase and so the documentation lacks of even good examples or description of the function arguments. I've already r

[PHP] Re: PHP/XSLT questions

2001-11-09 Thread Jeff Warrington
In <[EMAIL PROTECTED]>, Vikram Vaswani wrote: There is an undocumented function in php4.0.6 that allows you to specify an XSLT callback function for errors. You can then create a function to parse out the error array created by the callback function. It actually captures not only errors but als

[PHP] XSLT error functions

2001-10-20 Thread Vikram Vaswani
Hi all, Am working with the XSLT functions in PHP. I'm trying to trap errors with the xslt_error() functions - however, the function generates no output even if I deliberately introduce errors into the XSLT sheet. Same goes for the openlog() function. Any one have any ideas how I can use these t

[PHP] xslt extension and encodings

2001-08-17 Thread Adam Rambousek
hi, I hope I'm asking on right place :) I'm using xslt functions to transform xml document to html it works perfectly, but I need to transform xml written in iso8859-2 to html output also in iso8859-2 if I add at the beginning of xml, sablotron tells me "syntax error" I have sablotron 0.60; ic

Re[2]: [PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
Hello Francis, Thursday, July 19, 2001, 6:18:58 PM, you wrote: FF> Hi again Maxim, when this problem started I found that in the xslt php FF> cvs (because the manual on the php site doesn't seen to be accurate FF> anymore) FF> mixed xslt_process(resource processor, FF> strin

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
Hi again Maxim, when this problem started I found that in the xslt php cvs (because the manual on the php site doesn't seen to be accurate anymore) mixed xslt_process(resource processor, string xml, string xsl[,

Re[2]: [PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
Hello Francis, Thursday, July 19, 2001, 6:05:55 PM, you wrote: FF> Here what I use xslt_process($xslString, $xmlString, $this->result); FF> and it give me this error FF> Warning: Supplied argument is not a valid XSLT Processor resource in FF> /home/httpd/html/xml/include/class.transform_xsl.p

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
Here what I use xslt_process($xslString, $xmlString, $this->result); and it give me this error Warning: Supplied argument is not a valid XSLT Processor resource in /home/httpd/html/xml/include/class.transform_xsl.php on line 74 Maxim Derkachev wrote: > > Hello Francis, > > Thursday, July 19,

Re[2]: [PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
Hello Francis, Thursday, July 19, 2001, 5:43:37 PM, you wrote: FF> The ® is because (well I think) of the utf-8 code, try utf8_decode() to FF> decode it and to get it back. Not bugs, as I know now. make the things work well. FF> P.S. What is they command that you made for php 4.0.6 to parse

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
The ® is because (well I think) of the utf-8 code, try utf8_decode() to decode it and to get it back. P.S. What is they command that you made for php 4.0.6 to parse your xml file, I'm not able to parse a xml file with sablotron since 4.0.6. Maxim Derkachev wrote: > > Hi all. > > Just met two

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
MD> Just met two bugs (?) in the xslt module. The bugs appear to be Sablot's. Just have the same results using sabcmd. Posting report there. -- Best regards, Maxim Derkachev mailto:[EMAIL PROTECTED] System administrator & programmer, Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 www.b

[PHP] XSLT module bugs (?)

2001-07-19 Thread Maxim Derkachev
Hi all. Just met two bugs (?) in the xslt module. 1st. I replace HTML entities in the CDATA parts with their ascii equivalents ('<' -> '<', '>' -> '>', etc.) After XSLT transformation, '<' went back to '<', while any other remain untouched. 2nd. After the transformation, &#; are substituted with

[PHP] XSLT compiler for PHP

2001-07-11 Thread Steven Roussey
Hi all, I was curious if anyone was aware of a XSLT compiler that outputs PHP source? XSLTC which Sun donated to Apache Foundation creates Java source and is part of the Xalan project. Java is slow and we are all PHP here. Thanks! Sincerely, Steven Roussey Network54.com http://network54.com/?p

[PHP] XSLT - sablot - 4.0.6

2001-07-11 Thread Francis Fillion
I have been looking around for this for all day, now I need your help. I just compiled php 4.0.6 with those extension: ./configure --enable-track-vars --with-gd=../gd-1.8.3 --with-swf=../php4-swf --with-mysql --enable-xslt --with-xslt-sablot=../Sablot-0.60 --with-apxs --enable-sablot-err

[PHP] XSLT variables in PHP

2001-05-17 Thread nick
I'm building an XSLT style sheet for a web site, and part of it revolves around the fact that sometimes a group of will be highlighted and the rest of the time they will be a standard background colour. In the example below, if the XML data that matches "primary", is equal to 1, than i want

[PHP] XSLT

2001-02-08 Thread Chris Lee
sablotron seems to be converting to is this normal? its not valid XHTML. index.xsl -- Chris Lee Mediawaveonline.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: [PHP] XSLT problems....

2001-02-06 Thread sterling hughes
Javier Muniz wrote: > > In my experience this is caused by an error in your .xsl... not exactly > the most verbose error so I don't know what's actually happening here. > > -jm > Yup, it is, to correct this, place the following function in your xslt document:: function report_xslt_error($pars

RE: [PHP] XSLT problems....

2001-02-06 Thread Javier Muniz
In my experience this is caused by an error in your .xsl... not exactly the most verbose error so I don't know what's actually happening here. -jm -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 5:34 PM To: [EMAIL PROTECTED] Sub

[PHP] XSLT problems....

2001-02-06 Thread Chris Lee
test.xml 1 :PHatCat http://freshmeat.net/projects/phatcat/ A PHP CueCat Decoder. Oct 9th 2000 Web/Applications GPL 2 About Me http://freshmeat.net/projects/aboutme/ A system for recording/sharing preferences Apr 18th 2000 Web/Tools GPL test.xsl http://www.w3.org