Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XMLEvent event = reader.peek();
- if (event.isStartElement()) {
- StartElement startElement = event.asStartElement();
- Iterator<?> attributes = startElement.getAttributes();
- while (attributes.hasNext()) {
- Attribute attribute = (Attribute) attributes.next();
- // ...
- }
- }
- reader.next();
Add Comment
Please, Sign In to add comment