{"id":482,"date":"2003-08-26T23:41:06","date_gmt":"2003-08-27T03:41:06","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=482"},"modified":"2003-08-26T23:41:06","modified_gmt":"2003-08-27T03:41:06","slug":"parsing-xml-in-j2me","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2003\/08\/26\/parsing-xml-in-j2me\/","title":{"rendered":"Parsing XML in J2ME"},"content":{"rendered":"<p>Spent a couple hours tonight working on a MIDP client for the <a href=\"http:\/\/www.karensrecipes.com\/\">recipe site<\/a>.  Initially I tried serving up pipe delimited plain text (ie: response.setContentType(&#8220;text\/plain&#8221;);) and then parsing that using the J2ME classes, but then I saw the light that is XML, in this case <a href=\"http:\/\/kxml.enhydra.org\/project\/aboutProject\/index.html\">kXML<\/a>. kXML &#8220;<i>&#8230; provides an XML pull parser and writer suitable for all Java platforms including the Java 2 Micro Edition (CLDC\/MIDP\/CDC). Because of its small footprint size, it is especially suited for Applets or Java appications running on mobile devices like Palm Pilots or MIDP enabled cell phones.<\/i>&#8221;  I&#8217;ll post some code after I&#8217;m done with it, this <a href=\"http:\/\/wireless.java.sun.com\/midp\/articles\/parsingxml\/\">article<\/a> is a great introduction.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spent a couple hours tonight working on a MIDP client for the recipe site. Initially I tried serving up pipe delimited plain text (ie: response.setContentType(&#8220;text\/plain&#8221;);) and then parsing that using the J2ME classes, but then I saw the light that is XML, in this case kXML. kXML &#8220;&#8230; provides an XML pull parser and writer &hellip; <a href=\"https:\/\/cephas.net\/blog\/2003\/08\/26\/parsing-xml-in-j2me\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Parsing XML in J2ME<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/482"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=482"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/482\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}