Table of Contents

Search

  1. Preface
  2. Libraries for Industry Standards
  3. Using Libraries
  4. Descriptions of the Libraries
  5. Generate Library Objects

Libraries Guide

Libraries 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.

0 COMMENTS

We’d like to hear from you!