[XML-SIG] Moving DOM node hierarchies
Jeremy J. Sydik
jsydik@BINARY.NET
Tue, 10 Oct 2000 18:39:17 -0500
I had a similar problem a while back, but that was before the XML-SIG/4DOM
integration. It would be helpful to see the code that is failing or a test
case that shows the same error. In the meantime, here are the sig archive
messages related to my problems:
http://www.python.org/pipermail/xml-sig/2000-March/003656.html
http://www.python.org/pipermail/xml-sig/2000-March/003668.html
http://www.python.org/pipermail/xml-sig/2000-April/003747.html
http://www.python.org/pipermail/xml-sig/2000-April/003748.html
Clarence Gardner wrote:
>
> I have a program in which a bunch of unrelated functions return a
> node hierarchy to a central function, which then wants to package them
> all up into a document and send it on its way. Unfortunately, I'm
> getting WRONG_DOCUMENT errors when I do this, because each of the trees
> was generated using a throw-away document. It would be obnoxious to have
> to create the result document first and then provide it everywhere that
> a subtree is created.
>
> Does this seem like a strange way to be going about things? It seemed
> quite reasonable to me. In fact, I don't understand the reasoning behind
> the only-append-in-the-creating-document restriction. Can anyone shed
> light on this?
>
> Thanks.
>
> --
> Clarence Gardner
> Software Engineer
> NetLojix Communications
> clarence@netlojix.com
>
> _______________________________________________
> XML-SIG maillist - XML-SIG@python.org
> http://www.python.org/mailman/listinfo/xml-sig