alternating node problems
[email protected] Mon, 27 Jan 2003 11:45:02 -0500
| Newsgroups | gmane.comp.web.zope.parsed-xml |
|---|---|
| Message-ID | <[email protected]> |
This is my first application using DOM, so perhaps this isn't a
ParsedXML problem.
In the loop, every other node does not work correctly, that is, the
second and fourth nodes created in the list have a problem. It appears
in the DOM tree view, but the link does not show anything. I can read
the attributes of the affected node, but I can't add any additional
children. The XML itself seems well formed.
for std in request.addStandards:
stdObj = context.getStandardFromID(std)
newNode = context.importNode(stdObj,1)
context.appendChild(newNode)
return RESPONSE.redirect('editUnitForm')
Help!
--Tom Hoffman
Feinstein High School