I'm trying to follow this guide. I can print my XML as so: \[code\]> print(deps[1:2])$deployment<deployment id="0"> <deploy t="0" u="2"/> <deploy t="1" u="2"/> <deploy t="2" u="2"/> <deploy t="3" u="2"/> <deploy t="4" u="5"/> <deploy t="5" u="2"/> <metric name="makespan" value="http://stackoverflow.com/questions/15817666/23"/> <rmetric name="total_cpu_cycles" value="http://stackoverflow.com/questions/15817666/16340"/></deployment>$deployment<deployment id="1"> <deploy t="0" u="2"/> <deploy t="1" u="2"/> <deploy t="2" u="2"/> <deploy t="3" u="2"/> <deploy t="4" u="5"/> <deploy t="5" u="2"/> <metric name="makespan" value="http://stackoverflow.com/questions/15817666/23"/> <rmetric name="total_cpu_cycles" value="http://stackoverflow.com/questions/15817666/16350"/></deployment>attr(,"class")[1] "XMLNodeList"\[/code\]What I would like is a matrix where each row is a deployment and there are two columns ('makespan', 'total_cpu_cycles'). When I get to this step I start seeing problems: \[code\]> depcat = xmlSApply(deps, function(x) xmlSApply(x, xmlValue))> depcat[1,1][[1]]character(0)> str(depcat[1,1])List of 1 $ : chr(0) \[/code\]