<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
</dict>
</plist>
So, I'm using pugixml, and untill now I was always able to extract the value of a node,but now there appears to be a problem:
pugi::xml_document doc;
doc.load_file("sprite_sheet.plist");
pugi::xml_node test = doc.child("plist").child("dict").child("key");
OutputDebugStringA(test.value());
There is no output. And I also used the debugger to check the values: test has the name "key", and NO value!
What is the problem?!