Results 1 to 2 of 2
  1. #1
    Srinivasa is offline Member
    Join Date
    Oct 2010
    Posts
    1
    Rep Power
    0

    Default Split function Functionality

    Hi all,
    if my input value is
    <emp>
    <empno>10</empno>
    <empno>20</empno>
    <empno>30</empno>
    <empno>40</empno>
    <empno>10</empno>
    </emp>

    for every empno there must be context change.

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

    Default

    not sure I understand the question.
    do you mean for each employee read (such as if ising a StAX or SAX parser), that you want to 'do something', perhaps on the event of reading the empno TEXT node, create a new EmployeeRecordHandler java object, that contains all the properties and stuffs needed to work with the operation of a single empno record.?

Similar Threads

  1. split() function problem.
    By robWhittle in forum New To Java
    Replies: 2
    Last Post: 04-09-2010, 02:34 PM
  2. Replies: 3
    Last Post: 12-04-2009, 04:08 PM
  3. How to split a String using split function
    By Java Tip in forum java.lang
    Replies: 4
    Last Post: 04-17-2009, 09:27 PM
  4. Problem with split function
    By a.tajj in forum New To Java
    Replies: 4
    Last Post: 04-14-2009, 04:30 AM
  5. How to split a String using split function
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 10-04-2007, 10:32 PM

Posting Permissions

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