XSLTProcessor->transformToURI()
    (no version information, might be only in CVS)
XSLTProcessor->transformToURI() -- URI に変換する
パラメータ
   
- doc
 
       変換される文章を指定します。
       The transformed document.
      
- uri
 
      
 
  返り値
   書き込まれたバイト数。エラーが発生した場合は FALSE 。
  
例
   
例 1. HTML ファイルへの変換 
<?php
  // XML ソースをロードする $xml = new DOMDocument; $xml->load('collection.xml');
  $xsl = new DOMDocument; $xsl->load('collection.xsl');
  // 変換の設定を行う $proc = new XSLTProcessor; $proc->importStyleSheet($xsl); // XSL ルールを適用する
  $proc->transformToURI($xml, 'file:///tmp/out.html');
  ?>
 |  
  |