xslt_set_scheme_handlers(PHP 4 >= 4.0.6) xslt_set_scheme_handlers — Set the scheme handlers for the XSLT processor Описание
void xslt_set_scheme_handlers
( resource $xh
, array $handlers
)
Registers the scheme handlers (XPath handlers) for the document. Список параметров
Возвращаемые значенияЭта функция не возвращает значения после выполнения. Примеры
Пример #1 xslt_set_scheme_handlers() example For example, here is an implementation of the "file_exists()" PHP function.
<?phpThen, inside the stylesheet, you can test whether a certain file exists with:
<xsl:if test="document('file_exists:anotherXMLfile.xml')/root='true'">
<!-- The file exist -->
</xsl:if>
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |