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.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to