in reply to Search & Replace Parsing?

use Toolkit to go from HTML to XML.
use A Really Great Stylesheet to go from XML to your PML.
Depending on the complexity of your prop. markup, it could be that simple.