Re: [users@httpd] xml-xsl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, I would just like to say thanks to all that have given advice on how to fix my problem. With some help from you guys and some friends the problem is resolved. I had to put the php.ini file in my c:\windows instead of c:\windows\system32. Thanks again.
Billy



----- Original Message ----- From: "Justin Gehring" <justin@xxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Monday, August 08, 2005 1:24 PM
Subject: Re: [users@httpd] xml-xsl


Hey Nick,

Very true nick, but the intention was to debug Billy Dukes php setup not write
code that he would actually be using.

-----------------------------
--     Justin Gehring      --
--   PH: 651 - 208 -8797   --
--  EM: justin@xxxxxxxxxxx --
-----------------------------


Quoting Nick Kew <nick@xxxxxxxxxxxx>:

Justin Gehring wrote:

> $xml = DomDocument::loadXML($xml_string);
> $xsl = DomDocument::loadXML($xsl_string);
> //make a new XSLT Processor
> $proc = new xsltprocessor;
> // attach the xsl rules
> $proc->importStyleSheet($xsl);
> $result_string = $proc->transformToXML($xml);

Erk!

That's going to be hugely, massively slow to run on
every request.  Far better to preprocess.  Or if it's
generated or proxied contents, use mod_transform.

--
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux