Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 22nd, 2004, 10:13 PM
Authorized User
 
Join Date: Apr 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default a xml program

<menbers>
  <menber>
    <name>csc</name>
    <IP>127.0.0.1</IP>
    <Email>sdfs</Email>
    <Remark>remark</Remark>
  </menber>
  <menber>
   </menber>
<menbers>

XmlNode nodeSelected=myXmlDoc.SelectSingleNode("//menbers/menber/name/text()[IP/text()='"+strIP+"']");

why: nodeSelected.value!="remark"


 
Old May 27th, 2004, 05:01 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

What is the problem you are having? You are selecting the //menbers/menber/name/ node, so I don't understand why you are having a problem selecting the remark text?

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Xlate program in XML to target language? Philibuster XSLT 2 August 24th, 2006 10:25 AM
From XML into program variables: seek suggestions Frank Huddleston XML 0 November 16th, 2005 01:09 AM
Sending and Recieving XML from a VB.NET program gmackenz XML 0 October 10th, 2005 09:41 PM
Setup Project: Program not added in Start>Program arif_1947 VS.NET 2002/2003 2 March 31st, 2005 06:40 AM
How to program with XML from VB chanti VB How-To 2 October 4th, 2004 03:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.