Java/DOM: Get the XML content of a node -


I am parsing an XML file in Java using the W3C DOM. I'm stuck in a specific problem, I can not understand how to get the whole internal XML of a node.

The node looks like this:

  & lt; Td> & Lt; P & gt; This & lt; / P & gt;  

Which function I am using to get it:

  "and 
  • test < / B & gt; B & gt; This & lt; / b & gt; A & lt; b & gt; TEST & lt; / b & gt; "
  • < / Div>

    You can use your Transformation / XSLT API to access your & lt; B & gt; The node should be converted into node and the result should be kept in a new stream result (new stringwise); .


    Comments