Hi,

Happy New Year to all.
I am trying to implement a SAX parser in my android application.
I placed my xml file in res/xml folder and declared my path as
"/res/xml/book.xml".

SAXParserFactory spf = SAXParserFactory.newInstance();
        try {


            SAXParser sp = spf.newSAXParser();
            sp.parse("/res/xml/book.xml",this);

        }catch(SAXException se) {
            se.printStackTrace();
        }

still the application gives a file not found error. Any clue what going on
with the code.

Thanks & Regards,
Yousuf Syed
773-719-4786

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to