if (surId != ObjectId.Null)
{
DBDictionary dbExt = (DBDictionary)tr.GetObject(surId, OpenMode.ForRead);
foreach (DBDictionaryEntry ent in dbExt)
{
ObjectId dId = dbExt.GetAt("ESMT_LEP_v1.0");
Xrecord xr = (Xrecord)tr.GetObject(dId, OpenMode.ForRead);
TypedValue[] arr = xr.Data.AsArray();
for (int i = 0; i < arr.Length; i++)
{
XElement xml_att = XElement.Parse((string)arr[i].Value);
//string name = xml_att.Name;
//ed.WriteMessage("\n тег"+ name);
...
...
...
}
}
}