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
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
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
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
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
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,
> 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
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
$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
> 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);
>
>
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);
> And I used this:
>
>
>
>
>
>
> Tid select="tid" />
> Type />
> Game select="game" />
> Buy-In$ />
> Status select="state" />
>
And I used this:
Tid
Type
Game
Buy-In$
Status
Players
Date / Time
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
> 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
>
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
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
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
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
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'
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
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
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
Good day,
To have PHP evaluate string contents as an expression, use eval().
The usual disclaimer comes with this function... be careful.
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-494
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
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
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
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
>
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
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[,
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,
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
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
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
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]
35 matches
Mail list logo