I am creating an xml file  by this code
XmlSerializer serializer = Xml.newSerializer( );
                try {
                        // we set the FileOutputStream as output for the 
serializer, using
                        // UTF-8 encoding
                        serializer.setOutput(fileos, "UTF-8");
                        // Write <?xml declaration with encoding (if encoding 
not null) and
                        // standalone flag (if standalone not null)
                        serializer.startDocument(null, Boolean.valueOf(true));
                        // set indentation option
                        serializer.setFeature(
                                        
"http://xmlpull.org/v1/doc/features.html#indent-output";,
                                        true);
                        // start a tag called "root"
                        serializer.startTag(null, "root");
--------------------------------------
When I read the file all the nodes from the type TEXT NODE
How I save it as ELEMNT NODE

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to