
13 Jun
2012
13 Jun
'12
3:39 a.m.
Can I know one element under a parent node existence? If my xml file's content like this: <?xml version="1.0" encoding="utf-8"?> <loader value="../../../asset/art/demo25Dv1.swf"/> <video width="1280" height="720"/> <touch> <show_points_info/> </touch> When I use ptree.count("touch"), it returns 1. But I use ptree.count("touch.show_points_info"), it returns 0 instead. What's wrong with that? Or should I use another method to get existence node of any depth? -- View this message in context: http://boost.2283326.n4.nabble.com/property-tree-number-of-sections-in-an-in... Sent from the Boost - Users mailing list archive at Nabble.com.