Re: domNode.asText() and tags removed question
Hi Alession,
I don't know the precise origin of asText() but I think too that it should be improved. In particular current implementation generates an inconsistency when used with xpath: with text(somenode), the spaces are fixed where as with somenode/text() they aren't.
I think that we should try enhance asText() to better reflect what is visible on screen. For exanple could \n be added around the content of a <p> or <tr>, ...
Marc.