Subject: Re: Subject: [xsl] Seeking methods using XSLT from PHP - sablotron installation From: "Braumüller, Hans" <H.Braumueller@xxxxxxxxxxxx> Date: Tue, 22 Apr 2003 10:37:06 +0200 |
Hi Neil, i guess Gary uses MS propietary syntax and extensions. Neil, it is possibly to install sablotron through ftp if i don not have access to root, shell on a shared virtual hosting ? SSI, Php 4, Perl, CGI, MySql is installed on unix/apache. Thanks, Hans Braumüller -- + -- Mail Art Not War http://crosses.net Hi Gary - just up the road from me hehe (I'm in Bristol) What sort of problems are you having - your description was (necessarily ? ) wooly, but I started with this last week - nothing too stressful but it worked a charm once I got my xslt right :-) Sablotron to me seems really transparent - just feed it an xml file (or string), a stylesheet (or string) and some parameters, it goes off and does its bit just as well as the M$ +javascript handlers. Let us know a bit more about your problem, perhaps some examples. Here's what I use for an example : $xsltproc = xslt_create(); // create new processor instance xslt_set_base($xsltproc, "file://f:/htdocs/hillmanonline/calendar/"); // set base directory (convenience method) $params=array("current"=>$current,"guid"=>time()); // hand the processor some params to pass into the stylesheet $args=array(); // dunno about this, but it needs to be an array - even an empty one is fine ! $result=xslt_process($xsltproc,"icalendar.xml","vcal.xsl",NULL,$args,$params); // Get transformed output as a string into the $result variable print($result); // pump out the response Regards Neil Smith. At 11:16 11/04/2003 -0400, you wrote: >Date: Fri, 11 Apr 2003 16:06:28 +0100 >From: Gary Cornelius <gary.cornelius@xxxxxxxxxxxxxxx> >Subject: [xsl] Seeking methods using XSLT from PHP? > >Hi, > >I really like to very much like to know if anyone is working successfully >with XSLT and PHP in some way and if so how they think to best approach the >problems? > >I am actually attempting to switching over to PHP linux from Jscript >MicrosoftMSXML - Initiallly I have been having a lot problems with Sablotron >due to a large amount of inheretance in the stylesheets, id functions and >several other bits and pieces! > >Things going through my mind!! I am wondering if libxml or something else >would lessen these problems! Or, whether there is a way I can use a Java >processor like Xalan or something else from the PHP... can anyone be so kind >as to enlighten me on this? > >Thanks in advance for any pointers or suggestions > >Gary XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How to: Returning HTML El, David . Pawson | Thread | RE: RE: Subject: [xsl] Seeking meth, Gary Cornelius |
RE: [xsl] How to: Returning HTML El, David . Pawson | Date | [xsl] replace attribute name, Florian Bauer |
Month |