Xml based publish