Results 1 to 7 of 7
  1. #1
    thooom is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    0

    Default Problems with XPath (XML Parsing)

    Moved topic to proper forum.
    Last edited by thooom; 04-25-2010 at 04:23 PM. Reason: Tried to delete - moved

  2. #2
    m00nchile is offline Senior Member
    Join Date
    Feb 2010
    Location
    Ljubljana, Slovenia
    Posts
    470
    Rep Power
    5

    Default

    I don't really know much about XML, but one thing... where in that method do you modify the psr variable?

  3. #3
    thooom is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    0

    Default

    It's declared higher up in the document, it's not the problem yet though. It's the fact that my system.out.print gives me 0 when it should give me 1438 or smt like that :(

  4. #4
    m00nchile is offline Senior Member
    Join Date
    Feb 2010
    Location
    Ljubljana, Slovenia
    Posts
    470
    Rep Power
    5

    Default

    As I said, I don't know that much about XML, so it's kinda out of my league. Sorry I couldn't help more.

  5. #5
    thooom is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    0

    Default

    It's ok :) Everyone I've spoken to irl just answers with "Oh god no, Java sucks for parsing XML".

  6. #6
    thooom is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    0

    Default

    Updated, abit closer to the correct code now. (Hopefully). Still not working however.

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. problems with parsing a string into int,
    By bigj in forum New To Java
    Replies: 3
    Last Post: 01-06-2010, 11:32 PM
  2. Replies: 0
    Last Post: 11-13-2009, 10:51 PM
  3. Replies: 3
    Last Post: 09-11-2008, 04:00 AM

Posting Permissions

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