This is fine.  Could use <code>capxml.xmltreefile = cap_root</code> also, just FYI.