Notes on useful libxml functions