technically as long as it's well formed, any fragment can be valid XML in the eyes of DOM (sounds like an Italian mobster there). I mean sure, you couldn't feed it
<a href="foo">hi but you could feed it <a href="foo">hi</a> On Sat, Aug 22, 2009 at 06:27, Andrew Badera <and...@badera.us> wrote: > > Can you use DOM functions in most languages on mere HTML fragments? > > ∞ Andy Badera > ∞ This email is: [ ] bloggable [x] ask first [ ] private > ∞ Google me: > http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)<http://www.google.com/search?q=%28andrew+badera%29+OR+%28andy+badera%29> > > > > On Sat, Aug 22, 2009 at 7:38 AM, shiplu<shiplu....@gmail.com> wrote: > > Use DOM functions in your language to parse it. > > Dont use Regex. Another Good solution is using libxml. But Html is not > XML. > > So you may have to convert it. > > Thats why DOM is better. > > > > -- > > A K M Mokaddim > > http://talk.cmyweb.net > > http://twitter.com/shiplu > > Stop Top Posting !! > > বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল > > > -- Internets. Serious business.