RE: [Zope-dev] XMLDocument - Adding a child through zope
new_node = self.getOwnerDocument().createElement('testTag') self.appendChild(new_node)
However, I get the following error when I try it:
Error Type: WrongDocumentException
Try XMLDocument version 1.0a5. I think that I resolved this problem in this release. If it still doesn't work, please let me know. -Amos -- Amos Latteier mailto:amos@digicool.com Digital Creations http://www.digicool.com
How do I import an XML document such that the IDs of the resulting nodes is derived from an attribute associated with the source XML tags. Ive tried using <tag id="foo"> but I get the following error: Error Type: Bad Request Error Value: Invalid or duplicate property id Is there a way to do this, or are the nodes of an imported XML file destined to be given cryptic, numbered IDs?
participants (2)
-
Amos Latteier -
morton@dennisinter.com