Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    2,738

    Re: How to parse an XML having same tag.

    It would have been courteous of you to tell us you had crossposted your question on other forums. Please read this: http://www.javaprogrammingforums.com/cafe/6776-problems-cross-posting.html
  2. Replies
    12
    Views
    2,738

    Re: How to parse an XML having same tag.

    That I'm not sure about. Can't you just change it to a List?
  3. Replies
    12
    Views
    2,738

    Re: How to parse an XML having same tag.

    Well, I'm still not sure how exactly you want this to be parsed. But assuming you want a list of values, I would use JAXB by defining a schema that has a maxOccurs="2" or "unlimited", so the classes...
  4. Replies
    12
    Views
    2,738

    Re: How to parse an XML having same tag.

    I am not familiar with Digester. If it's a requirement to use Digester, you might be best off looking for a forum specific to that product.
  5. Replies
    12
    Views
    2,738

    Re: How to parse an XML having same tag.

    How are you parsing it now?
  6. Replies
    12
    Views
    2,738

    Re: How to parse an XML having same tag.

    What have you tried? Where are you stuck? What did google tell you? How do you want to parse this? As a list of ints? As a single Number Object containing several ints? Something else?
Results 1 to 6 of 6