PHP's DOMXPath is stripping out my tags inside the matched text.

Posted by Mint on Stack Overflow See other posts from Stack Overflow or by Mint
Published on 2010-04-04T14:07:52Z Indexed on 2010/04/04 14:13 UTC
Read the original article Hit count: 241

Filed under:
|
|

I asked this question yesterday, and at the time it was just what I needed, but while working with some live data I discovered that is wasn't quite doing what I expected. http://stackoverflow.com/questions/2571232/parse-html-with-phps-html-domdocument

I gets the data from the HTML page, but then it also strips out all the HTML tags inside the captured block of text, which isn't what I want. (I might wan't to take some of the tags out, but not all, and this can be done later)

© Stack Overflow or respective owner

Related posts about php

Related posts about domxpath