>However, I don't know how to make my method return a org.w3c.dom.Node.

Pick any implementation of the W3C DOM APIs -- eg, the one in the Xerces
parser. Use the DOM APIs to create a node of the appropriate type and its
content; see a DOM tutorial for details.. Return that node from your
method.

This may be too basic an answer, but you asked an extremely general
question. If you could be more specific about what's confusing you, it'd be
easier to give you a useful response.


______________________________________
Joe Kesselman  / IBM Research


Reply via email to