From: Francesco M. <f18...@ya...> - 2006-09-28 15:55:25
|
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 |