Click here to Skip to main content
15,914,447 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to declare an use a struct containing an array? [modified] Pin
#realJSOP5-Jan-09 5:36
professional#realJSOP5-Jan-09 5:36 
AnswerRe: How to declare an use a struct containing an array? Pin
Russell Jones5-Jan-09 5:42
Russell Jones5-Jan-09 5:42 
AnswerRe: How to declare an use a struct containing an array? Pin
Dragonfly_Lee5-Jan-09 17:39
Dragonfly_Lee5-Jan-09 17:39 
AnswerRe: How to declare an use a struct containing an array? Pin
Jon Rista6-Jan-09 10:41
Jon Rista6-Jan-09 10:41 
GeneralRe: How to declare an use a struct containing an array? Pin
scjsb7-Jan-09 1:45
scjsb7-Jan-09 1:45 
Questioncan you get rid of data members in a class after inheritance? Pin
bfis1081375-Jan-09 4:38
bfis1081375-Jan-09 4:38 
AnswerRe: can you get rid of data members in a class after inheritance? Pin
Christian Graus5-Jan-09 5:14
protectorChristian Graus5-Jan-09 5:14 
Questionhow to use XPath to parse the XML file? Pin
George_George5-Jan-09 3:18
George_George5-Jan-09 3:18 
Hello everyone,

Suppose I have the following XML file, I want to use XPath query based technologies to iterate all attributes for all rules nodes and all attributes for each sub rule nodes (under each rules node).

Could anyone provide some pseudo code please? I know how to query rules and related attribute but do not know how to loop inside embed node rule under each rules node.

<Abc>
    <rules name="USA">
    <rule foo="123" goo="345"/>
    </rules>
    <rules name="CAN">
    <rule foo="321" goo="543"/>
    <rule foo="321" goo="234"/>
    </rules>
</Abc>


thanks in advance,
George
AnswerRe: how to use XPath to parse the XML file? Pin
Le centriste5-Jan-09 3:22
Le centriste5-Jan-09 3:22 
GeneralRe: how to use XPath to parse the XML file? Pin
George_George5-Jan-09 3:34
George_George5-Jan-09 3:34 
GeneralRe: how to use XPath to parse the XML file? Pin
Le centriste5-Jan-09 3:55
Le centriste5-Jan-09 3:55 
GeneralRe: how to use XPath to parse the XML file? Pin
George_George5-Jan-09 22:33
George_George5-Jan-09 22:33 
GeneralRe: how to use XPath to parse the XML file? Pin
Abhijit Jana5-Jan-09 4:06
professionalAbhijit Jana5-Jan-09 4:06 
GeneralRe: how to use XPath to parse the XML file? Pin
George_George5-Jan-09 22:34
George_George5-Jan-09 22:34 
GeneralRe: how to use XPath to parse the XML file? Pin
led mike5-Jan-09 5:05
led mike5-Jan-09 5:05 
GeneralRe: how to use XPath to parse the XML file? Pin
George_George5-Jan-09 22:34
George_George5-Jan-09 22:34 
AnswerRe: how to use XPath to parse the XML file? Pin
Abhijit Jana5-Jan-09 4:03
professionalAbhijit Jana5-Jan-09 4:03 
GeneralRe: how to use XPath to parse the XML file? Pin
George_George5-Jan-09 22:35
George_George5-Jan-09 22:35 
GeneralRe: how to use XPath to parse the XML file? Pin
Abhijit Jana6-Jan-09 0:53
professionalAbhijit Jana6-Jan-09 0:53 
QuestionRun .NET ActiveX control on IE 7.0 machine that doesnt have .NET installed. Pin
Dattatraya K5-Jan-09 2:51
Dattatraya K5-Jan-09 2:51 
AnswerCrossPost : Please Ignore Pin
Abhijit Jana5-Jan-09 2:57
professionalAbhijit Jana5-Jan-09 2:57 
AnswerRe: Run .NET ActiveX control on IE 7.0 machine that doesnt have .NET installed. Pin
Dave Kreskowiak5-Jan-09 3:51
mveDave Kreskowiak5-Jan-09 3:51 
QuestionInner/Nested classes with NHibernate Pin
devvvy5-Jan-09 2:41
devvvy5-Jan-09 2:41 
AnswerRe: Inner/Nested classes with NHibernate Pin
realbart10-Sep-12 5:03
realbart10-Sep-12 5:03 
GeneralRe: Inner/Nested classes with NHibernate Pin
devvvy10-Sep-12 14:37
devvvy10-Sep-12 14:37 

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.