Hi
I'am using SelectNodes method to find if node followed by string exists, and
if so i going to select that node.
Create doc i such a way:
doc = new XmlDocument();
doc.AppendChild (doc.CreateXmlD eclaration("1.0 ", "UTF-8", null));
docHandle = doc.CreateEleme nt("Base");
doc.AppendChild (docHandle);
After that :
nodes = doc.SelectNodes (path);
IMy xmldocument represents directory structure, and before i add element i
check if each of directories ( dir1\dir2\...di rn ) exists.
Unfortunately 'nodes = doc.SelectNodes (path)' raises an exception 'Invalid
token in path'.
For any help - thanks
--
Pozdrawiam
Piotr Kolodziej
http://piotrkolodziej.waikru.info