[XOM-interest] Node and ParentNode question...

Rebel Geek rebel.geek at gmail.com
Tue Oct 21 17:25:40 EDT 2008


Hi All,

I'm curious to know the reason why Node does not have ParentNode  
functionality like addNode/addChild, etc. since it has getChild?  
Perhaps there is a way of doing what I want with the current API, but  
it's not very obvious to me...

I need to locate a Node with an XPath query. After which, I will use  
that Node to append new child Nodes to it. I want to avoid casting if  
possible. What is the XOM de facto approach to this?

Thanks,

Rebel Geek


More information about the XOM-interest mailing list