Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XPath problem [Thread Next] Re: XPath problemTo: NULL Date: 6/2/2004 6:33:00 AM Use selectNode(xpath). Your xpath would be something like this:
"forums/forum/subscribed"
Hi,
I am new to XML.
I have the following C# code, which cannot make work:
if (xml.getNodeText("servers:server[servers:name='" +
this.cboServers.Text + "']/servers:forums/servers:forum[servers:name=['" +
forum + "']", m_ServersDoc) == "1")
I am trying to access the next sibling (called "subscribed") in the
following XML file.
<forums>
<forum>
<name>BSIT1</name>
<subscribed>0</subscribed>
</forum>
<forum>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
