|
DomDocument::xinclude(PHP 5) DomDocument::xinclude — Substitutes XIncludes in a DomDocument Object Описание
int DomDocument::xinclude
( void
)
This function substitutes » XIncludes in a DomDocument object.
Пример #1 Substituting Xincludes
<?php Результат выполнения данного примера: <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <child>test</child> </root> If include.xml doesn't exist, you'll see: <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <error>xinclude:dom.xml not found</error> </root> |
|