I'am working on a module Drupal that needs an attribute value from another module, to get the block I found this :
$block = module_invoke('mymodule', 'block_view', 'myblock');
so I want to parse $block['content']
as html text and find my needed attribute.
Is there a way to do that by simple method like find()
or getElementById()
Any idea will be appreciated.