Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Help needed with SelectSingleNode method Help needed with SelectSingleNode methodTo: NULL Date: 2/1/2006 2:08:00 PM I have the following XML
<Process>
<Variable>
<VarName>aa</VarName>
<VarValue>aa</VarValue>
<VarDescription>aa</VarDescription>
<VarHelp>aa</VarHelp>
</Variable>
<Variable>
<VarName>bb</VarName>
<VarValue>bb</VarValue>
<VarDescription>bb</VarDescription>
<VarHelp>bb</VarHelp>
</Variable>
</Process>
when I do a Node.SelectSingleNode("//Variable[0]").Text I expected a null
string because the node "Variable" does not have ant text but instead I get
the string "aaaaaaaa".
How do verify that the node Variable does not have any associated text ?
Regards,
Maz
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
