Armel Asselin ha scritto: >>> the results are: >>> >>> s == "level2-1" // the same as expected >>> s1 == "" // I expected to get "hello" >>> s2 == "hello" // ? >> yes, sure. no bugs. >> This is really a FAQ and I should add it somewhere. >> >> The results you get are because your XML tree is parsed as: > nonetheless, this is not really XSL-like (which Ildar expected). It could be > cool to have a GetAllText ( ) all the simple text of all sub nodes > concatenated. I just added to CVS the GetNodeContent() functions which does exactly that.
Francesco ------------------------------------------------------------------------- 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