XSL-Based XML Parser for file endpoint
Use the XSL-Based XML Parser to parse XML documents in any format by using the XSL that you specify. The XML documents are parsed into attribute-value pairs and stored in the entry object. To access the XSL-Based XML Parser configuration parameters:
- Add a File endpoint.
- On the File endpoint configuration page, click Parser and select XSL-Based XML Parser from the list.
- Expand the Parser section to view the parameters.
Parameters
- Comment
- 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.
We can also configure the following advanced parameters. Under the Parser section, expand Advanced to view these parameters.
- Character Encoding
- Character encoding to use for reading or writing. The default value is UTF-8.
- The XSL-Based XML Parser extends the Simple XML Parser; therefore, the same character encoding rules apply. For more information, go to the SDI 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.
- 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.
To configure the input parameters, under the Parser section, expand Input.
- Use Input XSL file
- Select this check box to use an input XSL file. If you select this check box, the contents of the Input XSL field are ignored.
- Input XSL File Name
- Specify the path and file name of the input XSL file that contains the matching rules for transforming the user XML to the SDI internal format.
- Input XSL
- Use this editable area to enter or paste the entire input XSL.
To configure the output parameters, under the Parser section, expand Output.
- Use output XSL file
- Select this check box to use an output XSL file. If you select this check box, the contents of the Output XSL field are ignored.
- Output XSL File Name
- Specify the path and file name of the output XSL file that has matching rules for transforming the SDI internal format back to user XML.
- Output XSL
- Use this editable area to enter or paste the entire output XSL.
For detailed information about the XSL-Based XML Parser and examples of its usage, go to the SDI documentation and search for XSL based XML Parser.
Parent topic:
File parsers