reference/dom/functions/dom-import-simplexml.xml
9a511f92cb6574fb8a2622e204879303d0dab9d8
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='function.dom-import-simplexml' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="function.dom-import-simplexml" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>dom_import_simplexml</refname>
6
6
<refpurpose>
...
...
@@ -12,7 +12,7 @@
12
12
&reftitle.description;
13
13
<methodsynopsis>
14
14
<type>DOMElement</type><methodname>dom_import_simplexml</methodname>
15
-
<methodparam><type>SimpleXMLElement</type><parameter>node</parameter></methodparam>
15
+
<methodparam><type>object</type><parameter>node</parameter></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
This function takes the node <parameter>node</parameter> of class
...
...
@@ -39,9 +39,32 @@
39
39
<refsect1 role="returnvalues">
40
40
&reftitle.returnvalues;
41
41
<para>
42
-
The <classname>DOMElement</classname> node added or &false; if any errors occur.
42
+
The <classname>DOMElement</classname> node added.
43
43
</para>
44
44
</refsect1>
45
+
46
+
<refsect1 role="changelog">
47
+
&reftitle.changelog;
48
+
<informaltable>
49
+
<tgroup cols="2">
50
+
<thead>
51
+
<row>
52
+
<entry>&Version;</entry>
53
+
<entry>&Description;</entry>
54
+
</row>
55
+
</thead>
56
+
<tbody>
57
+
<row>
58
+
<entry>8.0.0</entry>
59
+
<entry>
60
+
This function no longer returns &null; on failure.
61
+
</entry>
62
+
</row>
63
+
</tbody>
64
+
</tgroup>
65
+
</informaltable>
66
+
</refsect1>
67
+
45
68
<refsect1 role="examples">
46
69
&reftitle.examples;
47
70
<example>
...
...
@@ -83,7 +106,6 @@ echo $dom->saveXML();
83
106
</para>
84
107
</refsect1>
85
108
</refentry>
86
-

87
109
<!-- Keep this comment at the end of the file
88
110
Local variables:
89
111
mode: sgml
90
112