Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
GeneralRe: MS Officeto XML Pin
Feng Qin7-Apr-03 18:11
Feng Qin7-Apr-03 18:11 
QuestionHow do you apply attributes to parameters? Pin
Kevin McFarlane3-Apr-03 6:30
Kevin McFarlane3-Apr-03 6:30 
AnswerRe: How do you apply attributes to parameters? Pin
David Stone3-Apr-03 7:20
sitebuilderDavid Stone3-Apr-03 7:20 
GeneralRe: How do you apply attributes to parameters? Pin
Kevin McFarlane3-Apr-03 10:23
Kevin McFarlane3-Apr-03 10:23 
GeneralRe: How do you apply attributes to parameters? Pin
David Stone3-Apr-03 13:40
sitebuilderDavid Stone3-Apr-03 13:40 
GeneralC# / XML attributes and values Pin
econner3-Apr-03 2:44
econner3-Apr-03 2:44 
GeneralRe: C# / XML attributes and values Pin
Oleksandr Kucherenko3-Apr-03 4:28
Oleksandr Kucherenko3-Apr-03 4:28 
GeneralRe: C# / XML attributes and values Pin
econner3-Apr-03 6:54
econner3-Apr-03 6:54 
Alex,

I am new to XML and not that familiar with the nodes and attributes. I have started with this by using xmlDocument.

Would you have an example of loading an XML doc similar to below and cycling thru the nodes and using your function of GetAttributeByName to return the value of the company from the below nodelist? I am having difficulties in getting the nodes setup from the nodelist.

<fields>
<field name="acct">12345</field>
<field name="company">ACME Inc</field>
<field name="city">Dallas</field>
<field name="state">TX</field>
</fields>

QuestionCan this be done ? Pin
Steve Murrell3-Apr-03 1:36
Steve Murrell3-Apr-03 1:36 
AnswerRe: Can this be done ? Pin
neroknights3-Apr-03 9:23
neroknights3-Apr-03 9:23 
GeneralRe: Can this be done ? Pin
Steve Murrell3-Apr-03 21:30
Steve Murrell3-Apr-03 21:30 
GeneralRe: Can this be done ? Pin
neroknights4-Apr-03 3:51
neroknights4-Apr-03 3:51 
GeneralRe: Can this be done ? Pin
Steve Murrell4-Apr-03 5:35
Steve Murrell4-Apr-03 5:35 
GeneralFileStream.Seek and Encryption Question Pin
jtmtv182-Apr-03 21:56
jtmtv182-Apr-03 21:56 
QuestionHow to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Anthony_Yio2-Apr-03 19:52
Anthony_Yio2-Apr-03 19:52 
AnswerRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Venkatraman2-Apr-03 20:10
Venkatraman2-Apr-03 20:10 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Anthony_Yio2-Apr-03 21:04
Anthony_Yio2-Apr-03 21:04 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Venkatraman2-Apr-03 21:26
Venkatraman2-Apr-03 21:26 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Anthony_Yio2-Apr-03 21:35
Anthony_Yio2-Apr-03 21:35 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Venkatraman2-Apr-03 22:12
Venkatraman2-Apr-03 22:12 
AnswerRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Gaul3-Apr-03 4:45
Gaul3-Apr-03 4:45 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Anthony_Yio3-Apr-03 14:14
Anthony_Yio3-Apr-03 14:14 
AnswerRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
neroknights3-Apr-03 9:44
neroknights3-Apr-03 9:44 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Anthony_Yio3-Apr-03 14:20
Anthony_Yio3-Apr-03 14:20 
GeneralRe: How to pass a delegate object with parameter as input to a ThreadStart constructor? Pin
Anonymous4-Apr-03 3:45
Anonymous4-Apr-03 3:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.