Is there a way to convert existing HTML into Rose::Html::Objects?
Thank you,
Daniel.
No, though I imagine you could create such a thing using an HTML
parser. But what you'd get would be a tree of generic
Rose::HTML::Object objects. Being "smart" about it and instead
creating a tree of more specialized objects (e.g., Rose::HTML::Image,
Rose::HTML::Anchor, Rose::HTML::Form::Field::Text) would be a bit more
difficult. And in either case, in the end, you'd end up with a pretty
heavyweight tree of objects.
What, exactly, are you trying to do?
-John