XMLJ

IUH School:

  1. Introduce Basic  XML
  • DOM Parser

  1. Read XML File – Loop XML File
  2. Write XML File
  • SAX Parser :

*Note* : Error : Invalid byte 1 of 1-byte UTF-8 sequence (solution =>  is.setEncoding(“UTF-8”)

*Note* : Error : Content is not allowed in prolog. (Solution => add dot [.]) => .<?xml version=”1.0″ ?>

  1. Read XML File (Pocsee XML file UTF-8)
  • JDOM Parser

  1. Read and Write XML

 

My Reference

1-Read file XML Event Iterator API

2- Write file XML – Event Iterator API

3-Read and Write XML Document – JAXB

Leave a comment