<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Yeah, same here :| ...</div><div class="im">
<br>
OpenNebula can produce the XML output both using the Nokogiri gem or<br>
REXML if Nokogiri is not found. I'm using Nokogiri with the last git<br>
version and all CDATA content I can see is on the same line as the<br>
enclosing labels.<br>
<br>
Perhaps it is the case that you are not using nokogiri? If so, you can<br>
consider trying again after installing it.<br>
<br>
Hector<br><br></div></blockquote><div>Thanks Hector. </div><div>After installing nokogiri, the same old code just works.</div><div>It is interesting that I am still using REXML on my scripts but Opennebula automatically uses nokorigi to take care its own XML handling which is now doing the proper output (and it looks better too).</div>
<div><br></div><div>But still, I think OpenNebula should work with both REXML and Nokogiri and there might be some  work needed for the REXML to output the proper format.</div><div><br></div><div>Thanks.</div><div>Shi</div>
</div>