libXp formatting