add figure transformation steps to the xml transform engine.  Writing figures in the article body to output xml.  Will handle reference resolution in a later step.