SelectNodes

  • Thread starter Thread starter pnp
  • Start date Start date
P

pnp

Has anyone got an implementation of SelectNodes that works for CF?
OpenNetCF doesn't seem to have one...

Thanks,
Peter
 
Peter,

The thing i do is simply get the XmlNodeList of children of the current node
I wish to evaluate, then iterate through each til i have the child node i
wish. Then get the next XmlNodeList of this current node, etc etc, until i
get the node i need. It's a pain, looks a bit messy in the code, but works
reasonably well.

The reason no one's done this is because of the restriction of resources on
a CE device... Ideally you'd want to move away from XML and use some plain
text format, where you can reference values by an index. This would be a
must faster way of data management.

Dan.
 
Thanks Daniel for your help

-Peter


Daniel Bass said:
Peter,

The thing i do is simply get the XmlNodeList of children of the current node
I wish to evaluate, then iterate through each til i have the child node i
wish. Then get the next XmlNodeList of this current node, etc etc, until i
get the node i need. It's a pain, looks a bit messy in the code, but works
reasonably well.

The reason no one's done this is because of the restriction of resources on
a CE device... Ideally you'd want to move away from XML and use some plain
text format, where you can reference values by an index. This would be a
must faster way of data management.

Dan.
 
Back
Top