Line 22:
Line 22:
−
== [http://www.cs.umd.edu/~meesh/cmsc420/spr07/part1/p11/node21.html Outputting XML using DOM] ==
−
−
=== appendNode -> appendChild() ===
−
<blockquote>
−
To append an Element to another Node:
−
<code><pre>
−
results.appendNode(elt);
−
</pre></code>
−
</blockquote>
−
This should be
−
<code><pre>results.appendChild(elt);</pre></code>
−
Read the API.
== [http://www.cs.umd.edu/%7Emeesh/cmsc420/spr07/part1/p11/node22.html Outputting XML Conventions] ==
== [http://www.cs.umd.edu/%7Emeesh/cmsc420/spr07/part1/p11/node22.html Outputting XML Conventions] ==