How to decode ASN.1 to XML with erlang
- by shian
Hi
I use asn1 module in erlang to decode. The output is like
{'UL-CCCH-Message',asn1_NOVALUE,
{rrcConnectionRequest,
{'RRCConnectionRequest',
{'tmsi-and-LAI',
{'TMSI-and-LAI-GSM-MAP',
[1,0,0,0,0,1,1,1,1,1,1,0,1,0,0,0,0,1,1,0,1,1,0,1,0,1,1,
1,1,0,1,0],
{'LAI',
{'PLMN-Identity',[2,2,6],[0,1]},
[0,1,1,1,1,0,0,1,1,0,0,0,1,1,0,1]}}},
terminatingBackgroundCall,noError,
{'MeasuredResultsOnRACH',
{'MeasuredResultsOnRACH_currentCell',
{fdd,
{'MeasuredResultsOnRACH_currentCell_modeSpecificInfo_fdd',
{'cpich-Ec-N0',39}}}},
asn1_NOVALUE},
asn1_NOVALUE}}}
How can I output XML instead of erlang term?