"Jason E. Stewart" wrote:
>
> The problem is after you run createDocument() your document already
> has two child nodes, the doctype node, and an element node
> <lexicon/>. When you use appendChild() it puts the XMLDecl node
> in the wrong place, it wants to be first in the list, so use
> insertBefore():
Aha. Now I just need to figure out how to get a handle on that
<lexicon/> element createDocument() added so I can futz with
it.. found it, getDocumentElement(). Man, wading through the
docco to find that was a pain. This stuff is clearly written
for people who are already very familiar with XML and the DOM. :-(
On which list are you going to bring up the documentation issue?
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Apache Software Foundation http://www.apache.org/
"Apache Server for Dummies" http://Apache-Server.Com/
"Apache Server Unleashed" http://ApacheUnleashed.Com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]