epub parsing manipulation