core cleanup: xml replacement in sipe.c