![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Problem with getting text from a node [Thread Next] Re: Problem with getting text from a nodeTo: NULL Date: 2/3/2007 5:51:00 PM
Bill Gower wrote:
> string tableName = Folder.SelectSingleNode("FOLDERNAME).ToString();
> }
>
>
> the element in FOLDERNAME should be the name of the tables in a database.
> ex. Member.
>
> Instead what is being assigned to tableName is "System.Xml.XmlElement"
>
> In my Autos window in VS 205, I can see the InnerText, OuterText and
> InnerHTML and I can see the element "Member"
If you have e.g.
<FOLDERNAME>Member</FOLDERNAME>
in the XML markup then you want e.g.
string tableName = Folder.SelectSingleNode("FOLDERNAME).InnerText;
HTH
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
