httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Gehring <jus...@jrcorps.com>
Subject Re: [users@httpd] xml-xsl
Date Mon, 08 Aug 2005 18:24:30 GMT
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@jrcorps.com --
-----------------------------


Quoting Nick Kew <nick@webthing.com>:

> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message