Convert HTML DOM into a multidimensional array
Posted
by dclowd9901
on Stack Overflow
See other posts from Stack Overflow
or by dclowd9901
Published on 2010-04-09T14:51:52Z
Indexed on
2010/04/09
15:03 UTC
Read the original article
Hit count: 353
Where keys are represented by element type and values are represented by #foo
and .bar
(spaced and ready for explode()
). Is it possible, or does something exist for it?
I know that this question might incite some wrath, and I'm hoping nobody links to that post about parsing HTML, but I'm hoping it's not impossible. Thanks for the help.
Addendum: Ideally, PHP would be used, since it's the only scripting language I know.
© Stack Overflow or respective owner