# Docs using hpricot with xml including 'CDATA'?

**URL:** <https://www.ruby-forum.com/t/docs-using-hpricot-with-xml-including-cdata/157221>\
**Category:** Ruby\
**Created:** [January 8, 2009, 4:31pm UTC](https://www.ruby-forum.com/t/docs-using-hpricot-with-xml-including-cdata/157221 "2009-01-08T16:31:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmcolli00](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/85e7bf/32.png) [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Post date:** [January 8, 2009, 4:31pm UTC](https://www.ruby-forum.com/t/docs-using-hpricot-with-xml-including-cdata/157221/1 "2009-01-08T16:31:50Z")

</div>

Anyone know where I can get informatin on how to use hpricot on xml data  
that will include the xml unparsed CDATA?

I have a program that reads in XML fine however, if the XML file  
includes CDATA…well it errors out on many levels when getting the  
attributes. Anyway, I can’t find any documentation on this. I have found  
a few examples here and there but nothing concrete. I must use hpricot.

Thanks MC
