mongo-ruby-driver/tests/data/smorgasbord.xml
2009-01-09 18:25:36 -05:00

31 lines
797 B
XML

<twonk>
<meta/>
<doc>
<oid name="_id">33dc67499236d9a01a000000</oid>
<int name="an_int">42</int>
<string name="a_string">foo</string>
<boolean name="truthiness">true</boolean>
<number name="a_float">42.12345</number>
<array name="an_array">
<string name="0">x</string>
<string name="1">y</string>
<string name="2">z</string>
<doc name="3">
<string name="subobject">yup</string>
</doc>
</array>
<date name="now">1231515664416</date>
<ref name="dbref">
<ns>namespace</ns>
<oid>33dc67499236d9a01a010000</oid>
</ref>
<regex name="regex">
<pattern>foobar</pattern>
<options></options>
</regex>
<null name="a_null_value"></null>
<code name="$where">this is code</code>
<symbol name="a_symbol">symbol_value</symbol>
</doc>
</twonk>