@Adrien Prokopowicz ?

I ask for an enhancement to XMLNode (and descendants). Currently the 
TextContent property returns the concatenated text of the currenode and all 
child nodes thereof.  What I want to get is the text of the current node only, 
ignoring any child nodes.

  Dim sText as String
  Dim hElt as XMLElement ' = some node
  sText = hElt.GetLocalTextContent()

i.e. a new method to return just the local node text.

I think this requires modifying the serializer class GBGetXMLTextContent() 
method to avoid descending in to the child nodes but it is far beyond my C++ 
abilities and the attempts I made are too embarrassing to reveal. :-(

tia
bruce

-- 
B Bruen <adamn...@gnail.com (sort of)>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to