mongo-ruby-driver/tests/data/smorgasbord.xml

34 lines
874 B
XML

<twonk>
<meta/>
<doc>
<oid name="_id">68f167497a0a511f74000000</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>68f167497a0a511f74010000</oid>
</ref>
<regex name="regex">
<pattern>foobar</pattern>
<options/>
</regex>
<null name="a_null_value"/>
<code name="$where">this is code</code>
<symbol name="a_symbol">symbol_value</symbol>
<undefined name="an_undefined"/>
<binary name="a_binary">YmluYXJ5IHN0cmluZw==
</binary>
</doc>
</twonk>