derick          Sat Aug 23 06:43:44 2003 EDT

  Modified files:              
    /phpdoc/en/reference/xslt/functions xslt-create.xml 
  Log:
  - Fix code style
  
Index: phpdoc/en/reference/xslt/functions/xslt-create.xml
diff -u phpdoc/en/reference/xslt/functions/xslt-create.xml:1.5 
phpdoc/en/reference/xslt/functions/xslt-create.xml:1.6
--- phpdoc/en/reference/xslt/functions/xslt-create.xml:1.5      Tue Aug 19 07:51:01 
2003
+++ phpdoc/en/reference/xslt/functions/xslt-create.xml  Sat Aug 23 06:43:44 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/xslt.xml, last change in rev 1.3 -->
   <refentry id="function.xslt-create">
    <refnamediv>
@@ -22,7 +22,7 @@
       <programlisting role="php">
 <![CDATA[
 <?php
-function xml2html($xmldata,$xsl) { 
+function xml2html($xmldata, $xsl) { 
     /* $xmldata -> your xml */
     /* $xsl -> xslt file */     
 
@@ -31,10 +31,10 @@
     $xsltproc = xslt_create();
     xslt_set_encoding($xsltproc, 'ISO-8859-1');
     $html =
-xslt_process($xsltproc,'arg:/_xml',"$path/$xsl",NULL,$arguments);
+        xslt_process($xsltproc, 'arg:/_xml', "$path/$xsl", NULL, $arguments);
 
     if (empty($html)) {
-       die('XSLT processing error: '.xslt_error($xsltproc));
+       die('XSLT processing error: '. xslt_error($xsltproc));
     }
     xslt_free($xsltproc);
     return $html;


Reply via email to