dxfs= new ArrayList<Dxf>();
fmts= new HashMap();
nXfs= 0; // position in xfrecs array is vital as cells will reference the styleId/xfId
int indexedColor= 0; // index into COLOR_TABLE
XmlPullParserFactory factory = XmlPullParserFactory.newInstance();
factory.setNamespaceAware(true);
XmlPullParser xpp = factory.newPullParser();
xpp.setInput(ii, null); // using XML 1.0 specification
int eventType = xpp.getEventType();
while (eventType != XmlPullParser.END_DOCUMENT)
{