[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Subject: Seeking methods using XSLT from PHP?
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
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: Seeking methods using XSLT from PHP? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|