use pd.xmlmin + added docs