if I give (doc2/'metas').inner_html

<meta name="date" /><metastring name="value">test</metastring><meta 
name="url" /><metastring name="value">test1</metastring><meta name="job" 
/><metastring name="value">testdata</metastring><meta name="url" 
/><metastring name="value">21546</metastring>

I am not able to understand why the <meta> tag gets closed before 
enclosing <metasring> as in the xml

i expeced the result as <meta name="date"><metastring 
name="value">test</metastring><meta>

Kindly help
-- 
Posted via http://www.ruby-forum.com/.