Class XmlDataReader


  • public class XmlDataReader
    extends Object
    Class used to read an XML source and produce a Document.

    It is possible, during loading, to:

    • filter (keep or remove) attributes
    • convert attributes names
    • convert attributes values
    • filter (keep or remove) elements at creation time (pre) and when all its children are known (post).
    • convert elements names
    • ignore (remove) comments
    • ignore (remove) spaces
    This can be used to create only necessary nodes and attributes in memory and adapt their names or content.

    It is possible to attach an IssueHandler to process warnings, recoverable and fatal errors.

    Author:
    Damien Carbonne