Click here to Skip to main content
15,895,746 members
Articles / Mobile Apps / Android

Simple XML manipulation techniques within Android

Rate me:
Please Sign up or sign in to vote.
4.93/5 (6 votes)
11 Jul 2012CPOL7 min read 46.1K   989   20  
In this article I will discuss how XML can be effectivelly processed inside an Android application
<?xml version="1.0" encoding="utf-8"?>
<STYLEMANAGER>
<FONTSTYLES>
<DISPLAYTEXT>Book Title Font</DISPLAYTEXT>
<FONT>Celebration Text Fancy-Normal</FONT>
<FONTSIZE>37</FONTSIZE>
<FONTCOLOR>Ghost White</FONTCOLOR>
<FONTBOLD>False</FONTBOLD>
<FONTSHADOW></FONTSHADOW>
<DISPLAYTEXT>Book ID Font</DISPLAYTEXT>
<FONT>Caligrafia De Bula-Regio</FONT>
<FONTSIZE>28</FONTSIZE>
<FONTCOLOR>Black</FONTCOLOR>
<FONTBOLD>False</FONTBOLD>
<FONTSHADOW></FONTSHADOW>
<DISPLAYTEXT>Book Name Font</DISPLAYTEXT>
<FONT>Ballade Bold</FONT>
<FONTSIZE>27</FONTSIZE>
<FONTCOLOR>Red</FONTCOLOR>
<FONTBOLD>False</FONTBOLD>
<FONTSHADOW></FONTSHADOW>
<DISPLAYTEXT>Section Font</DISPLAYTEXT>
<FONT>Ballade Bold</FONT>
<FONTSIZE>15</FONTSIZE>
<FONTCOLOR>White</FONTCOLOR>
<FONTBOLD>False</FONTBOLD>
<FONTSHADOW></FONTSHADOW>
<DISPLAYTEXT>Verse Font</DISPLAYTEXT>
<FONT>Ballade Contour</FONT>
<FONTSIZE>25</FONTSIZE>
<FONTCOLOR>Aqua</FONTCOLOR>
<FONTBOLD>False</FONTBOLD>
<FONTSHADOW></FONTSHADOW>
</FONTSTYLES>
<SKINSTYLES>
<MAIN_BACKGROUND>Stationary Rust</MAIN_BACKGROUND>
<VERSES_BACKGROUND>Stationary Rust</VERSES_BACKGROUND>
<CLICKSELECTOR>Blue Selector with Bible</CLICKSELECTOR>
</SKINSTYLES>
</STYLEMANAGER>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Solara Software
United States United States
I am a senior software developer native to San Diego, CA. with about 25+ years of coding experience on various platforms including Windows and Linux, but who has spent the last part of his career involved in firmware development in R&D labs throughout the country. I particularly enjoy coding in C++, C# and lately JAVA on the Android platform. I like to wear many hats and have gotten down at very low levels such as writing VHDL logic for FPGAs and even some driver writing on Windows, Linux and TI DSPs. I have worked with many microcontrollers just because I love that low-level bit banging code! When I'm not coding or playing with Android tablets, phones and firmware kits you will most likely find me riding my Suzuki Hayabusa crotch-rocket out in the hills. I also enjoy composing music, singing or just relaxing and hanging out at small coffee shops around town!

Comments and Discussions