Simple XML Parser for file endpoint
Use the Simple XML Parser to read and write XML documents. It deals with XML data that is not more than two levels deep.
The Simple XML Parser uses the Apache Xerces and Xalan libraries. The parser gives access to the XML document through a script object called xmldom
. The xmldom
object is an instance of the org.w3c.dom.Document interface.
Note: The XML Parser for file endpoint is the improved and enhanced XML Parser.
To access the Simple XML Parser configuration parameters:
- Add a File endpoint.
- On the File endpoint configuration page, click Parser and select Simple XML Parser from the list.
- Expand the Parser section to view the parameters.
Parameters
Root Tag
Specify the root tag that encloses entries. The default value is DocRoot.
Entry Tag
Specify the name of the element for entries that are passed to the parser. The default value is Entry.
Value Tag
Specify the name of the element for attribute values that are passed to the parser. The default value is ValueTag.
Comment
Use this field to add your comments. The comment is not considered while parsing data.
Detailed Log
Select this check box to generate log messages with detailed debug information.
You can also configure the following advanced parameters. Under the
Parser section, expand
Advanced to view these parameters.
Omit XML Declaration
Select this check box to indicate that the parser must omit an XML declaration header in the output stream.
Document Validation
Select this check box to request file validation that is based on the specified DTD or schema.
Namespace Aware
Select this check box to indicate the parser must request a namespace-aware parser.
Character Encoding
Specify the character encoding to use for reading or writing. The default value is UTF-8.
For more information, go to the IBM® Security Verify Directory Integrator documentation and search for Character Encoding in the Simple XML Parser.
Indent Output
Select this check box to indent the output according to the depth of the statement lines. The result is cosmetic only; it has no bearing upon the semantic content of the output file.
For detailed information about the Simple XML Parser and examples of its usage, go to the IBM® Security Verify Directory Integrator documentation and search for Simple XML Parser.
Related information: