Glossary Item Box

XML Editor BasicsXML Editor Controls

See Also MEdit Send comments on this topic.

XML Editor Advanced Controls

XML Editor Advanced Controls

 

XML Editor Advanced Controls

The rendering of the ASN into XML is automatic, resulting in most of the controls in this section being automatically filled in by the tool in a fraction of a second. Given good ASN, there is no need for the user to ever edit these controls. Its primary purpose at this stage is more educational in nature. Users can examine how the ASN is broken down into leaves (a Mini-Edit term for one ASN production, which is part of a larger tree of such productions) and how the two languages map between each other. These controls can toggle along the tree displaying the data of each leaf in turn. The control buttons allow the tool to run first as a parser (putting the resulting tree on the clipboard) and then as a translator (building the equivalent XML from the parsed tree).

This selection of controls is part of the XML Editor Window Dialog.

1Leaf Count

Leaf Count The total number of leaves found in the ASN and which one is currently being shown in the controls.  This control, and the next two, are only used (and therefore visible) with complex XML made up of multiple elements.

2Scroll Leaves

Scroll Leaves The scroll buttons, used to move back and forth between the leaves of the entire tree of this ASN. A simple data element will only have one leaf in its tree.

3R button

R button Resets the controls to the root (first) leaf in the tree.

4XML Name

XML Name The XML name (derived from the ASN name) of the item.

5Comments

Comments Any comments collected for the current leaf node.

6Preserve Space

Preserve Space When checked, the white space in comments is not collapsed.

7Number Ranges

Number Ranges The minimum and maximum value ranges for numbers such as an integer.

8Size Values

Size Values The minimum and maximum character sizes (length) for types such as strings.

9Fixed Size Box

Fixed Size Box The required character sizes (length) for types such as strings. Note that an entry might have a min-max or a fixed size but never both.

10Basic Type

Basic Type The basic type of XML pattern that will be used in the element.

11Tag Field

Tag Field The XML name (derived from the ASN name) of the item.

12Octet Method

Octet Method The method of encoding that will be used for an Octet data type. Only applies to Octet data types. This type of data (a binary blob) is discouraged in code development, but when used must be encoded in one of the two provided ways.

13Array to Clipboard

Array to Clipboard This button will take the parsed tree of data and place it on the clipboard. Useful in debugging data frames.

14Enums to Clipboard

Enums to Clipboard This button will take the parsed tree of enumerated item data and place it on the clipboard. Useful in debugging data elements with enumerations.

15Parse out ASN.1

Parse out ASN.1 This button causes the ASN parser to run and displays the results in the XML window and in the above controls. The parsing process is typically followed by the translation process which builds up the XML.

16Build up XML

Build up XML This button causes the XML translator to run and displays the results in the XML window. It is preceded by the parsing process which separates the ASN into translatable pieces in the data tree.

11424034

   <-LAST     TOP      NEXT->  

XML Editor BasicsXML Editor Controls

 

 


© SubCarrier Systems Corp. All Rights Reserved.