/[drupal]/contributions/modules/import_html/coders_php_library/xml-transform.inc
ViewVC logotype

Diff of /contributions/modules/import_html/coders_php_library/xml-transform.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.33.2.5, Sat May 9 14:16:30 2009 UTC revision 1.33.2.6, Wed Jul 1 02:40:56 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: xml-transform.inc,v 1.33.2.4 2009/05/09 12:45:15 dman Exp $  // $Id: xml-transform.inc,v 1.33.2.5 2009/05/09 14:16:30 dman Exp $
3  /**  /**
4   * @file   * @file
5   * Utility for formatting XML files using XSL.   * Utility for formatting XML files using XSL.
# Line 100  function parse_in_xml_file($xmlfile, $do Line 100  function parse_in_xml_file($xmlfile, $do
100      return;      return;
101    }    }
102    else {    else {
103      debug("Retrieved source of '$xmlfile' OK, it's ". strlen($xmlsource) ." characters", 3);      import_html_debug("Retrieved source of '%xmlfile' OK, it's %length characters", array('%xmlfile' => $xmlfile, '%length' => strlen($xmlsource)), WATCHDOG_DEBUG);
104    }    }
105    #import_html_debug_code("After loading XML text", $xmlsource);    #import_html_debug_code("After loading XML text", $xmlsource);
106    
# Line 214  function xmldoc_plus_xsldoc($xmldoc, $xs Line 214  function xmldoc_plus_xsldoc($xmldoc, $xs
214    if (extension_loaded("xsl")) {    if (extension_loaded("xsl")) {
215      //////////      //////////
216      // PHP5 //      // PHP5 //
217      debug("Doing XSL using PHP5 xsl module. XSL base should be '". $parameters['xsl_path'] ."'", 3);      import_html_debug("Doing XSL using PHP5 xsl module. XSL base should be %xsl_path ", array('%xsl_path' => $parameters['xsl_path']), WATCHDOG_DEBUG);
218      $xsltproc = new XSLTProcessor;      $xsltproc = new XSLTProcessor;
219    
220      if ( $parameters['xsl_path']) $xsldoc->documenturi = $parameters['xsl_path'];      if ( $parameters['xsl_path']) $xsldoc->documenturi = $parameters['xsl_path'];

Legend:
Removed from v.1.33.2.5  
changed lines
  Added in v.1.33.2.6

  ViewVC Help
Powered by ViewVC 1.1.2