From: Alexander F. <ale...@go...> - 2011-06-23 16:01:16
|
Hi! I'm new to NekoHTML and wonder how to remove HTML comments? First an example: <div class='links'> <p class="bf">some text from August 11th, 1993 (<!--some comment-->some more text<!--another comment-->) released on September 3rd, 1993.</p> </div> I have to remove the comments because the next step is to extract the content of the <p class="bf"> with xpath. But xpath stops at the comments. The resulting xpath output is: "some text from August 11th, 1993 (". But I need the complete content. BR -- Alexander Fahlke Software Development www.informera.de |