XmlPullParserFactory factory = XmlPullParserFactory.newInstance();
    public static void main(String[] args) throws Exception {        //for (int i = 0; i < args.length; i++)        for (int i = 0; i < 1; i++)        {            XmlPullParserFactory factory = XmlPullParserFactory.newInstance();            XmlPullParser pp = factory.newPullParser();            XmlSerializer serializer = factory.newSerializer();            pp.setInput(new java.net.URL(args[ i ]).openStream(), null);            serializer.setOutput( System.out, null);            (new Roundtrip(pp, serializer)).roundTrip();        }    }