note 37981 added to ref.com

From: Date: Wed, 03 Dec 2003 20:50:05 +0000
Subject: note 37981 added to ref.com
Groups: php.notes 
Request: Send a blank email to php-notes+get-61359@lists.php.net to get a copy of this message
XSLT transformations using MSXML can be done with this code function xsltransform1($xslpath,$xmlstring) { $xml= new COM("Microsoft.XMLDOM"); $xml->async=false; // $xmlstring is an xml string $xml->load($xmlstring); $xsl = new COM("Microsoft.XMLDOM"); $xsl->async=false; // $xslpath is path to an xsl file $xsl->load($xslpath); $response=$xml->transformNode($xsl); unset($xml); unset($xsl); return $response; } // enjoy //Alan Young ---- Manual Page -- http://www.php.net/manual/en/ref.com.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37981 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37981&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37981&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61359) next »