[Zope] Re: ParsedXML tree-widget

Dennis Allison allison@sumeru.stanford.EDU
Tue, 23 Apr 2002 12:52:08 -0700 (PDT)


Just wanted to follow up on the ParsedXML queries that were posted
earlier.  My problem was getting the dtml-tree widget to not show all the
nodes in the DOM-tree.  I ended up with a brain surgery solution which 
hacked tpValues so it wouldn't consider non-XML-ish nodes as acceptable 
children.  (and there was also an associated namespace problem...)

Well, it looks like that was the wrong solution.  Apparently, the various
nodes in the DOM have a nodeType and the nodes I wanted to display have a 
nodeType on 1.  :-(

It would have been helpful had there been some documentation separate from
the implemenation on the storage model, what aspects were maintained, and
how XML is mapped onto the DOM tree.