static public SEResponse CreateFromXml(XmlReader reader)
        {
            SEResponse response = null;

            // Build Xml with xw.
            response = new SEResponse(reader);

            return(response);
        }
        public void Test05_Response()
        {
            string telegram = "<?xml version='1.0' encoding='utf-8' standalone='yes' ?><Telegram xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='LancePlatform'><Response requestId='0'><record type='Response_setupGetItemListRecord'><param-list><param name='m_itemList' type='sequence' sequenceType='wstring'><item>M001</item><item>M002</item><item>M003</item><item>M004</item><item>M005</item><item>M006</item><item>M007</item><item>M008</item><item>M009</item><item>M010</item><item>M011</item><item>M012</item><item>M013</item><item>M014</item><item>M015</item><item>M016</item><item>M017</item><item>M018</item><item>M019</item><item>M020</item><item>M021</item></param></param-list></record></Response></Telegram>";
            {
                XmlReader reader = XmlReader.Create(new StringReader(telegram));
                MT.pHLab.SE.V1.SEResponse response = MT.pHLab.SE.V1.SEResponse.CreateFromXml(reader);

                if (response.GetRecordType() == typeof(MT.pHLab.SE.V1.Response_setupGetItemListRecord))
                {
                    var record = new MT.pHLab.SE.V1.Response_setupGetItemListRecord();
                    record.ReadXml(reader);
                }
            }
        }