Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

AsnToXml Document Processor

AsnToXml Document Processor

The
AsnToXml
document processor converts ASN.1 data to XML.
The processor input format must be the BER encoding format that the ASN.1 standard defines. The output XML is identical to the ASN.1 XER encoding.
This processor is available when you install the
Data Transformation
ASN.1 library.
The following table describes the properties of the
AsnToXml
document processor:
Property
Description
asn_file
Defines an ASN.1 specification file.
header
Defines a header to exclude from the ASN.1 file. The
header
property has the following options:
  • NewlineSearch. The header is a newline.
  • OffsetSearch. Define the header according to the number of characters from the beginning of the file.
  • PatternSearch. Define the header with a regular expression.
  • TextSearch. Define the header by an explicit string or a string that you retrieve dynamically from the source document.
no_constraints
Determines whether to process the ASN file with constraints. The
no_constraints
property has the following options:
  • true. Process the ASN file without constraints.
  • false. Process the ASN file with constraints.
Default is false.
pdu_type
Defines the PDU type. Use this property to clarify an ambiguity.
process_first_message
Determines whether to process the entire CDR file. The
process_first_message
property has the following options:
  • true. Only process the first record.
  • false. Process the entire CDR file.
Default is false.
separator
Defines text to ignore between records. The
separator
property has the following options:
  • NewlineSearch. The separator is a newline.
  • OffsetSearch. Define the separator by the number of characters from the end of the previous record.
  • PatternSearch. Define the separator by a regular expression.
  • TextSearch. Define the separator by an explicit string or a string that you retrieve dynamically from the source document.


Updated September 26, 2018