×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    52

    Problem with "How to parse an XML file in J2ME with kXML" article

    Hi! I have just read the article "How to parse an XML file in J2ME with kXML",and i have tested the code. When I try to get the Value of a Node,by getting the NodeValue attribute of the XmlNode object,i always obtain null. This does not happen when i take the NodeName attribute,which is taken correctly.

    The sctructure of my Xml code is:

    <reparto>

    <identificador>A1</identificador>
    <destinatario> Jose Manuel Lodio</destinatario>

    <remitente> Pepe Jimenez</remitente>

    <dirDestino>Blas de Otero 12 5to C</dirDestino>
    <dirOrigen>Licenciado Poza 42</dirOrigen>

    <caracter>urgente </caracter>

    </reparto>

    Thanks in advance

  2. #2
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: Problem with "How to parse an XML file in J2ME with kXML" article

    Hi nadiuska,
    Kxml Parser will works absolutely fine . We are using kxml parser for parsing xmls from last two years
    there are lot's of Kxml parser references you can go through this
    http://developers.sun.com/mobility/m...es/parsingxml/
    http://www.devx.com/xml/Article/11773
    http://www.ibm.com/developerworks/library/wi-parsexml/
    http://wiki.forum.nokia.com/index.ph...rser_with_KXml

    If you still face problem after reading post your code we will look in to it

Similar Threads

  1. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  2. Contacts fields order??
    By timatima in forum Symbian
    Replies: 1
    Last Post: 2007-06-08, 13:51
  3. problem in a j2me program on Nokia 6630/6680
    By lappard in forum Mobile Java General
    Replies: 1
    Last Post: 2006-06-29, 01:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •