Added FromXml() string extesion method.