1

Topic: org.w3c.dom. Document and the screened text

Good afternoon! There was a small problem. Probably, for experts a question idle time, but I something stuck. Is XML: <? xml version = "1.0" encoding = "UTF-8"?> <XXX> <Company> Open Company <"Lajt of Groups" </Company> </XXX> Is white we Exhaust it in org.w3c.dom. Document, we select a node XXX and we read contents: String s = n.getTextContent (); we Receive at once: Open Company <"Lajt of Groups" Is white and it would be desirable, that was returned to Open Company <"Lajt of Groups", i.e. directly here in the screened type Is white. Whether it is possible to make somehow it on Java? Thankful in advance.

2

Re: org.w3c.dom. Document and the screened text

3

Re: org.w3c.dom. Document and the screened text

The task dares? What you then are going to do with such line? jnw> the problem in that, initial XML can arrive as Open Company <"Lajt of Groups" Is white, and Open Company <"Lajt of Groups" Is white. From the point of view of XML it is the equivalent documents. Whence the requirement about identity of text representation?