Parse XML using Java StAX - Count number of content tags
问题 I have big XML file and I am parsing as below: public class Solution { private static final String ROOM_ID = "RoomID"; private static final String CONTENT = "Content"; private static final String LOGIN_NAME = "LoginName"; private static final String CONVERSATION_ID = "ConversationID"; private static final String FILE_DUMP = "FileDump"; private static final String MESSAGE = "Message"; private static final String CONVERSATION = "Conversation"; private static final String START_TIME = "StartTime