protected void parseDebt(Vector<DebtItem> debt, String debtor, String xml)
	{
		final List<XMLLibrary.XMLpiece> V=CMLib.xml().parseAllXML(xml);
		if(xml==null){ Log.errOut("BeanCounter","Unable to parse: "+xml); return ;}
		final List<XMLLibrary.XMLpiece> debtData=CMLib.xml().getContentsFromPieces(V,"DEBT");
		if(debtData==null){ Log.errOut("BeanCounter","Unable to get debt data"); return ;}
		for(int p=0;p<debtData.size();p++)
		{
			final XMLLibrary.XMLpiece ablk=debtData.get(p);
			if((!ablk.tag.equalsIgnoreCase("OWE"))||(ablk.contents==null)||(ablk.contents.size()==0)) continue;
			final String owed=CMLib.xml().getValFromPieces(ablk.contents,"TO");
			final double amt=CMLib.xml().getDoubleFromPieces(ablk.contents,"AMT");
			final String reason=CMLib.xml().getValFromPieces(ablk.contents,"FOR");
			final long due=CMLib.xml().getLongFromPieces(ablk.contents,"DUE");
			final double interest=CMLib.xml().getDoubleFromPieces(ablk.contents,"INT");
			debt.addElement(new DebtItem(debtor,owed,amt,reason,due,interest));
		}
	}