|
From: Lee T. <lee...@pl...> - 2001-05-08 19:53:40
|
Hi -
I've been working with your tcldom package, and I'm impressed! The tcl xml
parser seemed a little slow with large arrays (85 elements) so I've been looking
into the C version (tcldompro.c). I've got it compiled as an AOLServer module,
and it seemed to be working fine (we had a little trouble getting it to compile
with namespaces, but we figured it out. I'll send you a patch if you want), but
I do have a question: Does dom::DOMImplementation behave differently with the C
version? Here's what I'm trying to do:
with the tcl version:
%set doc [dom::DOMImplementation create]
::dom::document1(node1)
the C version:
%set doc [dom::DOMImplementation create]
node9
with the tcl version, I can then take $doc and run "dom::DOMImplementation
serialize" on it to create the xml. But, with the C version, it says, "document
has no document element"
Also, with the TCL version, doing a "namespace eval ::dom { info vars }" gives
me "document1" (the array in the above case) and "document1var1", etc. The C
version does not.
Thanks for *any* light you can shed on this.
Lee Teague
--
Lee Teague
Placemark Investments
lee...@pl...
|