2
<title>XMLNode ActionScript Class</title>
5
This class implements an XMLNode object. This is mostly only used
6
internally by Gnash for holding the data for a node. It does exist
7
within the interpreter as a valid object though, so its
8
properties and methods can be accessed by a flash movie script.
12
As the XML class is derived from this one, many of these methods
13
are the same as for that class.
16
<sect5 id="xmlnodemethods">
17
<title>The Methods of the Class</title>
21
<term>appendChild()</term>
24
Append a child node to this node.
30
<term>cloneNode()</term>
33
Copy a node, returning an XMLNode *.
39
<term>hasChildNodes()</term>
42
Return true if this node has any children.
48
<term>insertBefore()</term>
51
Insert a node before this node.
57
<term>removeNode()</term>
60
Remove a node from the parent's list.
66
<term>toString()</term>
69
Convert the node and its children to a string
77
<sect5 id="xmlnodeprops">
78
<title>The Properties of the XMLNode Class</title>
84
<term>attributes</term>
87
Returns an array of the attributes of a node.
93
<term>childNodes</term>
96
Returns an array of the children of a node.
102
<term>firstChild</term>
105
Returns the first child node.
111
<term>lastChild</term>
113
Returns the last child node.
120
<term>nextSibling</term>
123
Returns the next child node.
129
<term>previousSibling</term>
132
Returns the child node before this one.
138
<term>nodeName</term>
141
Returns the name of the node.
147
<term>nodeType</term>
150
Returns the type of a node.
156
<term>nodeValue</term>
159
Contains the text for a text node type.
165
<term>parentNode</term>
168
Returns this node's parent.
177
<sect5 id="xmlnodeconf">
178
<title>XMLNode Class Conformance</title>
181
<informaltable frame="all">
182
<?dbhtml table-width="75%" ?>
187
<para>Class Name</para>
190
<para>Conformance</para>
196
<entry valign="top" align="left">
197
<para>appendChild()</para>
199
<entry valign="top" align="center">
201
This method is implemented.
206
<entry valign="top" align="left">
207
<para>cloneNode()</para>
209
<entry valign="top" align="center">
211
This method is implemented.
216
<entry valign="top" align="left">
217
<para>hasChildNodes()</para>
219
<entry valign="top" align="center">
221
This method is implemented.
226
<entry valign="top" align="left">
227
<para>insertBefore()</para>
229
<entry valign="top" align="center">
231
This method is unimplemented.
236
<entry valign="top" align="left">
237
<para>removeNode()</para>
239
<entry valign="top" align="center">
241
This method is unimplemented.
246
<entry valign="top" align="left">
247
<para>toString()</para>
249
<entry valign="top" align="center">
251
This method is unimplemented.
256
<entry valign="top" align="left">
257
<para>attributes</para>
259
<entry valign="top" align="center">
261
This property is unimplemented.
266
<entry valign="top" align="left">
267
<para>childNodes</para>
269
<entry valign="top" align="center">
271
This property is unimplemented.
276
<entry valign="top" align="left">
277
<para>firstChild</para>
279
<entry valign="top" align="center">
281
This property is implemented.
286
<entry valign="top" align="left">
287
<para>lastChild</para>
289
<entry valign="top" align="center">
291
This property is implemented.
296
<entry valign="top" align="left">
297
<para>nextSibling</para>
299
<entry valign="top" align="center">
301
This property is implemented.
306
<entry valign="top" align="left">
307
<para>previousSibling</para>
309
<entry valign="top" align="center">
311
This property is implemented.
316
<entry valign="top" align="left">
317
<para>nodeName</para>
319
<entry valign="top" align="center">
321
This property is implemented.
326
<entry valign="top" align="left">
327
<para>nodeType</para>
329
<entry valign="top" align="center">
331
This property is implemented.
336
<entry valign="top" align="left">
337
<para>nodeValue</para>
339
<entry valign="top" align="center">
341
This property is implemented.
346
<entry valign="top" align="left">
347
<para>parentNode</para>
349
<entry valign="top" align="center">
351
This property is unimplemented.