Skip to Content.
Sympa Menu

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

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Rebel Geek <rebel.geek AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] Node and ParentNode question...
  • Date: Tue, 21 Oct 2008 17:25:40 -0400

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



  • [XOM-interest] Node and ParentNode question..., Rebel Geek, 10/21/2008

Archive powered by MHonArc 2.6.24.

Top of Page