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

Re: [PHP] PHP XSLT caching

2008-10-27 Thread vladimirn
, 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 -- View this message in context: http://www.nabble.com/PHP-XSLT-caching-tp20173225p20186499.html Sent from the PHP

[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

Re: [PHP] PHP XSLT caching

2008-10-27 Thread Bastien Koert
: http://www.nabble.com/PHP-XSLT-caching-tp20173225p20186499.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 I can see that caching the output would make sense, caching

[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

[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

Re: [PHP] PHP XSLT caching

2008-10-26 Thread vladimirn
://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

[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

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 xslt

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

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.

[PHP] XSLT and DocBook

2007-06-07 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 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,

[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 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:

Re: [PHP] XSLT issue

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

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(/tournament, $xml); $tournaments =

[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: ?xml version=1.0 encoding=utf-8?xmlfeed tournament tid10035522/tid nameTexas Holdem/name gameTexas Holdem Poker/game buyin5/buyin

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: ?xml version=1.0 encoding=utf-8?xmlfeed tournament tid10035522/tid nameTexas Holdem/name gameTexas Holdem Poker/game

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 slightly

Re: [PHP] XSLT issue

2006-05-03 Thread Dave Goodchild
And I used this: xsl:template name=results xsl:for-each select=tournament xsl:if test=position() 4 table id=top3table cellspacing=0 tr class=oddthTid/thtdxsl:value-of select=tid //td/tr trthType/thtdxsl:value-of

Re: [PHP] XSLT issue

2006-05-03 Thread T.Lensselink
And I used this: xsl:template name=results xsl:for-each select=tournament xsl:if test=position() 4 table id=top3table cellspacing=0 tr class=oddthTid/thtdxsl:value-of select=tid //td/tr

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: ?xml version=1.0 encoding=ISO-8859-1? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=/xmlfeed html head titleResults of XSL

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: ?xml version=1.0 encoding=ISO-8859-1? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=/xmlfeed html head

[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-generalm=113456345526736w=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: tr tdUsername:/td ?php if ($set != 0 ($set 0x01) == 0) { echo td bgcolor=\#ff\; } else { echo td; } echo /tdinput type=\username\ name=\username\ value=\ . $username . \/;

[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: xsl:param

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 declare

[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

[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

[PHP] XSLT select syntax

2004-08-09 Thread Pasha Zubkov
Hi, In php5.0.0 I can use next select syntax: xsl:variable name=menus select=php:function('Menu::createXML')/menus/ 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

[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: xsl:if test=position() $start xsl:call-template

[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

[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: ?xml version=1.0? greeting Hello, world! /greeting hello.xsl: xsl:stylesheet

[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: ?php $xslt = xslt_create(); $xml = 'my_docbook_file.xml'; $xsl = '/usr/share/sgml/docbook/stylesheet

[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

[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

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 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 head : meta http-equiv=Content-Type content=text/html; charset=UTF-8 Where can i change it, or desactivate it ? thanks Hatem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[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. !DOCTYPE RootNode SYSTEM http://my.host.org/foo.dtd; When I have xslt_process() attempt to transform the XML document, with

[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: ?php $args = array(); $params[test] = parameter_to_pass; // create XSLT processor $xh = xslt_create(); // call xslt processor // Process the document $result =

[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

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

[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

[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 =

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 = a whole boatload of well-formed XML; $xsltArgs = array( '/_xml' = $xmlStr ); $xp = xslt_create(); $result =

[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:

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

[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

[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);

[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

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

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
. 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

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 version,

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

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: ?php // Allocate a new XSLT processor $xh = xslt_create(); // Process the document, returning

[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: ?php // Allocate a new XSLT processor $xh = xslt_create(); // Process the document, returning the result into the $result variable $result =

[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, and even tried both

[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

[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

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] xslt function documentation Hi

[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 also

[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

[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 ?xml encoding=iso-8859-2? at the beginning of xml, sablotron tells me syntax error I

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

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[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. xsl:output encoding='something' make the things work well. FF P.S. What is they command that you

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, 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.php

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: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 string

[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

[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

[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 TD 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 br/ to br is this normal? its not valid XHTML. index.xsl ?xml version='1.0' encoding='utf-8'? xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xsl:output method='html' indent='yes' encoding='utf-8' / xsl:template match='/menu'

[PHP] XSLT problems....

2001-02-06 Thread Chris Lee
test.xml results match count1/count name:PHatCat/name linkhttp://freshmeat.net/projects/phatcat//link descriptionA PHP CueCat Decoder./description dateOct 9th 2000/date categoryWeb/Applications/category licenseGPL/license /match match count2/count nameAbout Me/name

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] Subject: [PHP

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($parser,