search for: mismo_xml_fil

Displaying 1 result from an estimated 1 matches for "mismo_xml_fil".

Did you mean: mismo_xml_file
2010 Oct 31
0
Loading xml document using Nokogiri and retrieving CDATA element
...looking to Nokogiri again. The reason I am not using Nokogiri is I can not seem to find a way to get CDATA out of a Nokogiri document. First, can you tell me if I am loading my document correctly, because when I call my_document.to_xml, I only get one line back: (rdb:1) test_file = Nokogiri::XML(mismo_xml_file) #<Nokogiri::XML::Document:0x5dd22 name="document"> (rdb:1) test_file.to_xml "<?xml version=\"1.0\"?>\n" So maybe this is the first step and if I get the full doc to load, my cdata will be there?!! Alternatively, if you have a code snippet of loading a d...