Below I have just given a bit of my XML parser class.
But it seems to be very slow.If I tried on VS2005 windows mobile application its more slow.
Please suggest me an efficient way.
while (reader.Read())
{
switch (reader.NodeTyp e)
{
case XmlNodeType.Tex t: switch (lastElementNam e)
{ case "id":
currentSearchIt em.id = Convert.ToInt32 (reader.Value);
break;
case "fsz":
currentSearchIt em.size = Convert.ToInt32 (reader.Value);
}
}
But it seems to be very slow.If I tried on VS2005 windows mobile application its more slow.
Please suggest me an efficient way.
while (reader.Read())
{
switch (reader.NodeTyp e)
{
case XmlNodeType.Tex t: switch (lastElementNam e)
{ case "id":
currentSearchIt em.id = Convert.ToInt32 (reader.Value);
break;
case "fsz":
currentSearchIt em.size = Convert.ToInt32 (reader.Value);
}
}