From: Ildar <ild...@gm...> - 2006-09-28 15:26:18
|
Francesco, Thank you, I got the idea. However, 2 more questions: #1 wxString s3 = node.Find(wxT("level2-1")).GetFirstChild().GetName(); result: s3 == "text" // as you mentioned but wxString s4 = node.Find(wxT("level2-1")).Get(wxT("text")); result: s4 == "" shouldn't it return "hello"? #2 is the following possible? |- wxXML_ELEMENT_NODE with name "level2-1" and content="" |- wxXML_TEXT_NODE with name "" and content="hello" |- wxXML_TEXT_NODE with name "" and content="bye" wxXML_ELEMENT_NODE - contains 2 text nodes. |