You could try using method getValue() for the closest approximation, but what this does is concatenate all text within the element and descendants together. This won't give you the p tag in any form. If that tag is in your XML like you've shown, it has become part of the XML markup.It'd need to be included as p or embedded in a CDATA section to be treated as text.
You could try using method getValue() for the closest approximation, but what this does is concatenate all text within the element and descendants together. This won't give you the tag in any form. If that tag is in your XML like you've shown, it has become part of the XML markup.It'd need to be included as or embedded in a CDATA section to be treated as text.
Alternatively, if you know all elements that either may or may not appear in your XML, you could apply an XSLT transformation that turns stuff which isn't intended as markup into plain text.
The problem is that the node doesn't have a text child; it has a child that happens to contain text. Try this: Element overview = sds. GetChild("overview"); Element content = overview.
GetChild("content"); Element p = content. GetChild("p"); System.out. Println(p.getText()); If you want all the immediate child nodes, call p.getChildren().
If you want to get ALL the child nodes, you'll have to call it recursively.
And then just manually turn Element type nodes into textual representation... Probably simpler than what I had in mind. – G_H Oct 27 at 0:34.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.