D
David
hello, i have XmlDocument with InnerXML property returnig this (xhtml))
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title />
</head>
<body />
</html>
....now, i calling its SelecetSingleNode method, like this
..SelectSingleNode("/html/body");
but i get null value in return...
....what is wrong?
also tried:
..SelectSingleNode("/html/body[1]")
..SelectSingleNode("//body")
with same result...
thanx, David
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title />
</head>
<body />
</html>
....now, i calling its SelecetSingleNode method, like this
..SelectSingleNode("/html/body");
but i get null value in return...
....what is wrong?
also tried:
..SelectSingleNode("/html/body[1]")
..SelectSingleNode("//body")
with same result...
thanx, David