Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - XML parsing

XML parsing

Put your problem here if it does not fit any of the other categories.

XML parsing

Postby RJ » Mon Apr 20, 2009 11:08 am

I wanna parse the following XML file

<xml>
<app>
<id>1</id>
<name>Banking</name>
<list>
<id>1.x</id>
<li>
<id>1.1</id>
<name>Balance EQ</name>
<forwardlink>1.1.1</forwardlink>
<previouslink>1</previouslink>
<linktype>F</linktype>
</li>
<li>
<id>1.2</id>
<name>Send Funds</name>
<forwardlink>1.2.1</forwardlink>
<previouslink>1</previouslink>
<linktype>F</linktype>
</li>
</list>
<form>
<id>1.1.1</id>
<previouslink>1.x</previouslink>
<name>Balance Enquiry</name>
<screen>
<item>
<disp>Account Number</disp>
<param>TN:0:25:#:#</param>
</item>
</screen>
</form>
<form>
<id>1.2.1</id>
<previouslink>1.x</previouslink>
<name>Fund Transfer</name>
<screen>
<item>
<disp>To</disp>
<param>TN:0:25:#:#</param>
</item>
<item>
<disp>Amount</disp>
<param>TN:#:5:#:#</param>
</item>
<item>
<disp>Comment</disp>
<param>TA:0:70:#:#</param>
</item>
<item>
<disp>From</disp>
<param>TN:0:25:#:#</param>
</item>
</screen>
</form>
</app>
</xml>
pls kindly reply me
RJ
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Apr 20, 2009 10:40 am
Location: pune

Top

Postby WarrenFaith » Tue Apr 21, 2009 11:47 am

WarrenFaith
Moderator
Moderator
 
Posts: 227
Joined: Fri Mar 13, 2009 10:59 am
Location: Berlin, Germany

xml parsing from folder

Postby myster23 » Mon Apr 27, 2009 8:04 am

I also want to parse an xml file not for the NET, but form the folder c:\\example.xml. I read the following article : http://www.anddev.org/parsing_xml_from_ ... -t353.html. but is says about parsing an xml file from the NET. Which is the code I have to write so that to parse the xml file from the folder c:\\example.xml, and display the contents in the screen ?
myster23
Junior Developer
Junior Developer
 
Posts: 15
Joined: Thu Apr 23, 2009 7:53 am

Postby WarrenFaith » Mon Apr 27, 2009 12:31 pm

The emulator doesnt see your C partition... but you could add it to the sdcard and search for file reading here in the forum...
WarrenFaith
Moderator
Moderator
 
Posts: 227
Joined: Fri Mar 13, 2009 10:59 am
Location: Berlin, Germany

Postby ErnestoGuevara » Tue Apr 28, 2009 2:17 am

[ ] This thread is in the appropriate forum.
Search "Awesome Android Apps" in the market
http://www.awesomeandroidapps.com
ErnestoGuevara
Experienced Developer
Experienced Developer
 
Posts: 75
Joined: Thu Jan 08, 2009 2:02 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google Feedfetcher, MSNbot Media and 9 guests