[Zope] ParsedXML questions

Dennis Allison allison@sumeru.stanford.EDU
Wed, 17 Apr 2002 10:40:50 -0700 (PDT)


I'm using the ParsedXML product to hold and edit XML.  Anyone else out
there doing so?  There's minimal traffic on the wiki and the specialized
list.

Anyhow, I have some problems -- 

First, what does a HTML node look like?  It's clearly a tree structure but
it's not clear from the docs how the XML is organized in the DOM
implemenation.  For example, suppose I have 

	<A a=".." b="...." c="...">
	   <B>
	      Some text
	   </B>
        </A>

what's the mapping in the DOM?  How do I grab the value associated 
with A.  How do I move (in DTML, ScriptPython, or External Method) 
to node <B>...</B>?  

How do I navigate around the DOM tree?

Suppose I want to use the tree widget (dtml-tree) and control what gets
displayed using some combination of the tag names and attributes, how does
one garner the proper data?

I've read the documentation and the few examples, but it's still opaque
to me.  Clearly I'm missing some insight.

-d