PHP » GoLang |
login |
register |
about
|
GoLang DOMDocument::xinclude
request it (341)
GoLang replacement for PHP's DOMDocument::xinclude
[edit | history]
DOMDocument::xinclude(PHP 5, PHP 7) DOMDocument::xinclude — Substitutes XIncludes in a DOMDocument Object Description
public int DOMDocument::xinclude
([ int
$options
] )This method substitutes » XIncludes in a DOMDocument object.
Return Values
Returns the number of XIncludes in the document, -1 if some processing failed,
or Examples
Example #1 DOMDocument::xinclude() example
<?php The above example will output something similar to: <?xml version="1.0"?> <chapter xmlns:xi="http://www.w3.org/2001/XInclude"> <title>Books of the other guy..</title> <para> <row xml:base="/home/didou/book.xml"> <entry>The Grapes of Wrath</entry> <entry>John Steinbeck</entry> <entry>en</entry> <entry>0140186409</entry> </row> <row xml:base="/home/didou/book.xml"> <entry>The Pearl</entry> <entry>John Steinbeck</entry> <entry>en</entry> <entry>014017737X</entry> </row> <row xml:base="/home/didou/book.xml"> <entry>Samarcande</entry> <entry>Amine Maalouf</entry> <entry>fr</entry> <entry>2253051209</entry> </row> </para> </chapter> |
more
Recently updated
more
Most requested
more
Last requests
|