Click here to Skip to main content
15,908,581 members
Home / Discussions / C#
   

C#

 
QuestionC# Clipboard - Works, but is one step behind Pin
Olav Alexander Mjelde28-Jan-09 3:22
Olav Alexander Mjelde28-Jan-09 3:22 
AnswerRe: C# Clipboard - Works, but is one step behind Pin
User 665828-Jan-09 3:25
User 665828-Jan-09 3:25 
QuestionAny way to convert/compress JPG to TIFF CCITT Fax4? Pin
Matjaz-xyz28-Jan-09 3:19
Matjaz-xyz28-Jan-09 3:19 
AnswerRe: Any way to convert/compress JPG to TIFF CCITT Fax4? Pin
Mark Churchill28-Jan-09 12:40
Mark Churchill28-Jan-09 12:40 
GeneralRe: Any way to convert/compress JPG to TIFF CCITT Fax4? Pin
Matjaz-xyz28-Jan-09 22:30
Matjaz-xyz28-Jan-09 22:30 
GeneralRe: Any way to convert/compress JPG to TIFF CCITT Fax4? Pin
Mark Churchill29-Jan-09 3:40
Mark Churchill29-Jan-09 3:40 
QuestionDevice Drivers Pin
queries36528-Jan-09 3:15
queries36528-Jan-09 3:15 
QuestionReading xml that contains reference to xml’s Pin
Ronenb28-Jan-09 3:08
Ronenb28-Jan-09 3:08 
Hi
I would like to read the content of XML in c#
I’ve main XML that contain several include to additional xml

I’m trying to read nodes from main XML but I always got zero,
In case I’m copy the sub XML content to main XML it work

I know I can do include in XML another XML and it should be the same as writing the text in the same XML

What could be the problem?
See code below

Main XML

<tests>
<num_of_tests>4</num_of_tests>
<include href="test_rx25ghz.xml" />
<include href="test_rx35ghz.xml" />
<include href="test_tx25ghz.xml" />
<include href="test_tx35ghz.xml" />
</tests>

SUB XML
<test>
<testname>RX</testname>
<description>RX test on 2.5Ghz</description>
<frequency>250475000</frequency>
</test>

C# code
private XmlDocument m_xDoc;
private XmlElement m_Root;
m_xDoc = new XmlDocument();
m_xDoc.Load(m_mainXMLTest);
m_Root = m_xDoc.DocumentElement;
m_nodeItems = m_Root.GetElementsByTagName("test");

the problem is
m_nodeItems.count = 0

Please advice
Ronen
QuestionStruct vs array performance Pin
Lutosław28-Jan-09 2:25
Lutosław28-Jan-09 2:25 
AnswerRe: Struct vs array performance Pin
SeMartens28-Jan-09 2:44
SeMartens28-Jan-09 2:44 
GeneralRe: Struct vs array performance Pin
User 665828-Jan-09 3:02
User 665828-Jan-09 3:02 
GeneralRe: Struct vs array performance Pin
SeMartens28-Jan-09 3:14
SeMartens28-Jan-09 3:14 
GeneralRe: Struct vs array performance Pin
User 665828-Jan-09 3:23
User 665828-Jan-09 3:23 
AnswerRe: Struct vs array performance Pin
C Change28-Jan-09 3:09
C Change28-Jan-09 3:09 
AnswerRe: Struct vs array performance Pin
Ennis Ray Lynch, Jr.28-Jan-09 4:02
Ennis Ray Lynch, Jr.28-Jan-09 4:02 
Questionxml data Pin
arkiboys28-Jan-09 1:47
arkiboys28-Jan-09 1:47 
AnswerRe: xml data Pin
SeMartens28-Jan-09 1:51
SeMartens28-Jan-09 1:51 
GeneralRe: xml data Pin
arkiboys28-Jan-09 2:01
arkiboys28-Jan-09 2:01 
QuestionUML Modelling of C# / .NET Windows Apps? Pin
C Change28-Jan-09 0:28
C Change28-Jan-09 0:28 
QuestionDownloadfile issue from server Pin
ashok_rgm28-Jan-09 0:15
ashok_rgm28-Jan-09 0:15 
AnswerRe: Downloadfile issue from server Pin
Manas Bhardwaj28-Jan-09 0:28
professionalManas Bhardwaj28-Jan-09 0:28 
GeneralRe: Downloadfile issue from server Pin
ashok_rgm28-Jan-09 0:54
ashok_rgm28-Jan-09 0:54 
AnswerRe: Downloadfile issue from server Pin
Aman Bhullar28-Jan-09 1:31
Aman Bhullar28-Jan-09 1:31 
Questionhow to do a multi task on a single button click Pin
sandhya1427-Jan-09 23:53
sandhya1427-Jan-09 23:53 
AnswerRe: how to do a multi task on a single button click Pin
rah_sin27-Jan-09 23:58
professionalrah_sin27-Jan-09 23:58 

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.