Results of 1 - 10 of about 23 for xslt (0.002 sec.)
- PHP 関数を XSLT 関数として利用できるようにする 10255
- « XSLTProcessor::registerPHPFunctionNS XSLTProcessor::removeParameter » PHP Manual XSLTProcessor PHP 関数を XSLT 関数として利用できるようにする 検索 XSLTProcessor::registerPHPFunctions (PHP 5 >= 5.0.4, PHP 7, PHP 8) XSLTProcessor::registerP
... HPFunctions — PHP 関数を XSLT 関数として利用できるようにする 説明 public function XSLTProcessor::registerPHPFunctions ( array | string | null $functions ... = null ): void このメソッドは、PHP 関数を XSL スタイルシートでの XSLT 関数として利用できるようにします。 パラメータ functions このパラメータは、XSLT からコールされる信頼できる関数のみを許可しま ... = new DOMDocument (); $xmldoc -> loadXML ( $xml ); $xsldoc = new DOMDocument (); $xsldoc -> loadXML ( $xsl ); $proc = new XSLTProcessor (); $proc -> registerPHPFunctions (); $proc -> importStyleSheet ( $xsldoc ); echo $proc -> transformToXML ( $xmld ...
-
https://man.mtool.work/php/8.3/xsltprocessor.registerphpfunctions.html
- PHP 関数を XSLT 関数として利用できるようにする 10255
- « XSLTProcessor::registerPHPFunctionNS XSLTProcessor::removeParameter » PHP Manual XSLTProcessor PHP 関数を XSLT 関数として利用できるようにする 検索 XSLTProcessor::registerPHPFunctions (PHP 5 >= 5.0.4, PHP 7, PHP 8) XSLTProcessor::registerP
... HPFunctions — PHP 関数を XSLT 関数として利用できるようにする 説明 public function XSLTProcessor::registerPHPFunctions ( array | string | null $functions ... = null ): void このメソッドは、PHP 関数を XSL スタイルシートでの XSLT 関数として利用できるようにします。 パラメータ functions このパラメータは、XSLT からコールされる信頼できる関数のみを許可しま ... = new DOMDocument (); $xmldoc -> loadXML ( $xml ); $xsldoc = new DOMDocument (); $xsldoc -> loadXML ( $xsl ); $proc = new XSLTProcessor (); $proc -> registerPHPFunctions (); $proc -> importStyleSheet ( $xsldoc ); echo $proc -> transformToXML ( $xmld ...
-
https://man.mtool.work/php/8.3/xsltprocessor.registerphpfunctions.html
- XSL 10087
- « XMLWriter::writeRaw インストール/設定 » PHP Manual XML 操作 XSL 検索 XSL はじめに XSL 拡張モジュールは、XSL の標準規格を実装したもので、 » libxslt ライブラリ を用いて » XSLT 変換 を行います。 インストール/設定 要件 インストール手順 定義済
... み定数 例 collection.xml および collection.xsl ファイルの例 libxml のエラー処理関数によるエラー処理 XSLTProcessor — XSLTProcessor クラス XSLTProcessor::__construct — 新しい XSLTProcessor オブジェクトを作成する XSLTProcessor::ge ... tParameter — パラメータの値を取得する XSLTProcessor::getSecurityPrefs — セキュリティ設定を取得する XSLTProcessor::hasExsltSupport — PHP が EXSLT をサポートしているか ... どうかを判定する XSLTProcessor::importStylesheet — スタイルシートを取り込む XSLTProcessor::registerPHPFunctionNS — PHP の関数を、名前空間付きの ...
-
https://man.mtool.work/php/8.3/book.xsl.html
- PHP の関数を、名前空間付きの XSLT 関数として登録する 10087
- « XSLTProcessor::importStylesheet XSLTProcessor::registerPHPFunctions » PHP Manual XSLTProcessor PHP の関数を、名前空間付きの XSLT 関数として登録する 検索 XSLTProcessor::registerPHPFunctionNS (PHP >= 8.4.0) XSLTProcessor::registerPHPFunctio
... nNS — PHP の関数を、名前空間付きの XSLT 関数として登録する 説明 public function XSLTProcessor::registerPHPFunctionNS ( string $namespaceURI , string $name , calla ... ble $callable ): void このメソッドは、PHP の関数を名前空間付きの XSLT 関数として、 XSL スタイルシート中で使えるようにします。 パラメータ namespaceURI 名前空間の URI name 名前空間の中での、ロー ... = new DOMDocument (); $xmldoc -> loadXML ( $xml ); $xsldoc = new DOMDocument (); $xsldoc -> loadXML ( $xsl ); $proc = new XSLTProcessor (); $proc -> registerPHPFunctionNS ( 'urn:my.ns' , 'uppercase' , strtoupper (...)); $proc -> registerPHPFunctionN ...
-
https://man.mtool.work/php/8.3/xsltprocessor.registerphpfunctionns.html
- XSL 10087
- « XMLWriter::writeRaw インストール/設定 » PHP Manual XML 操作 XSL 検索 XSL はじめに XSL 拡張モジュールは、XSL の標準規格を実装したもので、 » libxslt ライブラリ を用いて » XSLT 変換 を行います。 インストール/設定 要件 インストール手順 定義済
... み定数 例 collection.xml および collection.xsl ファイルの例 libxml のエラー処理関数によるエラー処理 XSLTProcessor — XSLTProcessor クラス XSLTProcessor::__construct — 新しい XSLTProcessor オブジェクトを作成する XSLTProcessor::ge ... tParameter — パラメータの値を取得する XSLTProcessor::getSecurityPrefs — セキュリティ設定を取得する XSLTProcessor::hasExsltSupport — PHP が EXSLT をサポートしているか ... どうかを判定する XSLTProcessor::importStylesheet — スタイルシートを取り込む XSLTProcessor::registerPHPFunctionNS — PHP の関数を、名前空間付きの ...
-
https://man.mtool.work/php/8.3/book.xsl.html
- レコードを返す 10087
- « yaz_range yaz_scan » PHP Manual YAZ 関数 レコードを返す 検索 yaz_record (PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) yaz_record — レコードを返す 説明 function yaz_record ( resource $id , int $pos , string $type ): string yaz_record() 関数は、現在の
... は string と似ていますが、 MARC レコードが MARCXML に変換される点が違います。 このフォーマットは、レコードが XML パーサーや XSLT プロセッサに 渡される場合に役立ちます。 raw レコードは、その本来のフォーマットのままで返されます。 MARC、XML および SUTRS ... りません) に変換します。 <?php $rec = yaz_record ( $id , $p , "xml; charset=marc-8,utf-8" ); ?> レコード $rec は Sablotron XSLT を使用して 以下のように処理可能です。 <?php $xslfile = 'display.xsl' ; $processor = xslt_create (); $parms = array( '/_xml ... ' => $rec ); $res = xslt_process ( $processor , 'arg:/_xml' , $xslfile , NULL , $parms ); xslt_free ( $processor ); $res = preg_replace ( "'</?html ...
-
https://man.mtool.work/php/8.3/function.yaz-record.html
- PHP の関数を、名前空間付きの XSLT 関数として登録する 10087
- « XSLTProcessor::importStylesheet XSLTProcessor::registerPHPFunctions » PHP Manual XSLTProcessor PHP の関数を、名前空間付きの XSLT 関数として登録する 検索 XSLTProcessor::registerPHPFunctionNS (PHP >= 8.4.0) XSLTProcessor::registerPHPFunctio
... nNS — PHP の関数を、名前空間付きの XSLT 関数として登録する 説明 public function XSLTProcessor::registerPHPFunctionNS ( string $namespaceURI , string $name , calla ... ble $callable ): void このメソッドは、PHP の関数を名前空間付きの XSLT 関数として、 XSL スタイルシート中で使えるようにします。 パラメータ namespaceURI 名前空間の URI name 名前空間の中での、ロー ... = new DOMDocument (); $xmldoc -> loadXML ( $xml ); $xsldoc = new DOMDocument (); $xsldoc -> loadXML ( $xsl ); $proc = new XSLTProcessor (); $proc -> registerPHPFunctionNS ( 'urn:my.ns' , 'uppercase' , strtoupper (...)); $proc -> registerPHPFunctionN ...
-
https://man.mtool.work/php/8.3/xsltprocessor.registerphpfunctionns.html
- レコードを返す 9249
- « yaz_range yaz_scan » PHP Manual YAZ 関数 レコードを返す 検索 yaz_record (PHP 4 >= 4.0.1, PECL yaz >= 0.9.0) yaz_record — レコードを返す 説明 function yaz_record ( resource $id , int $pos , string $type ): string yaz_record() 関数は、現在の
... は string と似ていますが、 MARC レコードが MARCXML に変換される点が違います。 このフォーマットは、レコードが XML パーサーや XSLT プロセッサに 渡される場合に役立ちます。 raw レコードは、その本来のフォーマットのままで返されます。 MARC、XML および SUTRS ... りません) に変換します。 <?php $rec = yaz_record ( $id , $p , "xml; charset=marc-8,utf-8" ); ?> レコード $rec は Sablotron XSLT を使用して 以下のように処理可能です。 <?php $xslfile = 'display.xsl' ; $processor = xslt_create (); $parms = array( '/_xml ... ' => $rec ); $res = xslt_process ( $processor , 'arg:/_xml' , $xslfile , NULL , $parms ); xslt_free ( $processor ); $res = preg_replace ( "'</?html ...
-
https://man.mtool.work/php/8.3/function.yaz-record.html
- パラメータの値を設定する 9249
- « XSLTProcessor::removeParameter XSLTProcessor::setProfiling » PHP Manual XSLTProcessor パラメータの値を設定する 検索 XSLTProcessor::setParameter (PHP 5, PHP 7, PHP 8) XSLTProcessor::setParameter — パラメータの値を設定する 説明 public funct
... ion XSLTProcessor::setParameter ( string $namespace , string $name , string $value ): bool public function XSLTProcessor::setParame ... ter ( string $namespace , array $options ): bool XSLTProcessor を使った変換のための 1 つあるいは多くのパラメータの値を設定します。 もしパラメータがスタイルシートに存在しない場合 ... 、無視されます。 パラメータ namespace XSLT パラメータの名前空間 URI を指定します。 name XSLT パラメータのローカル名を指定します。 value XSLT パラメータの新しい値を指 ...
-
https://man.mtool.work/php/8.3/xsltprocessor.setparameter.html
- パラメータの値を取得する 9082
- « XSLTProcessor::__construct XSLTProcessor::getSecurityPrefs » PHP Manual XSLTProcessor パラメータの値を取得する 検索 XSLTProcessor::getParameter (PHP 5, PHP 7, PHP 8) XSLTProcessor::getParameter — パラメータの値を取得する 説明 public funct
... ion XSLTProcessor::getParameter ( string $namespace , string $name ): string | false パラメータがあらかじめ XSLTProcessor::setParam ... eter() で設定されている場合、 それを取得します。 パラメータ namespace XSLT パラメータの名前空間 URI を指定します。 name XSLT パラメータのローカル名を指定します。 戻り値 パラメータの値 (文字列)、ある ... いは設定されていない場合は false を返します。 参考 XSLTProcessor::setParameter() - パラメータの値を設定する XSLTProcessor::removeParameter() - パラメータを削除する 関連キーワード ...
-
https://man.mtool.work/php/8.3/xsltprocessor.getparameter.html