| [ Index ] |
PHP Cross Reference of Unnamed Project v0.00 |
[Summary view] [Print] [Text view]
1 <?php 2 require_once("jp/ne/hi_ho/pat/dimension/xml/xslt/XSLTProcessor.phl"); 3 define("XML_BUFFER_NAME", "/_xml"); 4 define("XSL_BUFFER_NAME", "/_xsl"); 5 ?> 6 <?php 7 /** 8 * PHP4.1.x用XSLT処理クラスです 9 * 10 * @package jp.ne.hi_ho.pat.dimension.xml.xslt 11 * @access public 12 * @author Hideyuki Shimooka <dimension@pat.hi-ho.ne.jp> 13 * @create 2002/01/28 14 * @version $Id: XSLTProcessor41.phl,v 1.3 2002/02/04 13:36:20 shimooka Exp $ 15 **/ 16 class XSLTProcessor41 extends XSLTProcessor 17 { 18 /** 19 * XML/XSLデータから、変換結果を返します 20 * 21 * @access public 22 * @param Object $xslt XSLTハンドラ 23 * @param String $xml XMLデータ 24 * @param String $xsl XSLTデータ 25 * @return String 変換結果 26 */ 27 function process($xslt, $xml, $xsl) 28 { 29 $args = array(XML_BUFFER_NAME => $xml, XSL_BUFFER_NAME => $xsl); 30 return xslt_process($xslt, "arg:" . XML_BUFFER_NAME, "arg:" . XSL_BUFFER_NAME, NULL, $args); 31 } 32 33 /** 34 * XML/XSLファイルを読み込み、変換結果を返します 35 * @access public 36 * @param Object $xslt XSLTハンドラ 37 * @param String $xml XMLファイル名 38 * @param String $xsl XSLTファイル名 39 * @return String 変換結果 40 */ 41 function processFile($xslt, $xml, $xsl) 42 { 43 return xslt_process($xslt, $xml, $xsl); 44 } 45 } 46 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed May 25 00:22:31 2005 | Cross-referenced by PHPXref 0.6 |