README.md in datacite-mapping-0.2.0 vs README.md in datacite-mapping-0.2.1
- old
+ new
@@ -86,9 +86,11 @@
| ----------------- | ----------------------- |
| XML string | `Resource.write_xml` |
| file path | `Resource.save_to_file` |
| `REXML::Element` | `Resource.save_xml` |
+Example:
+
```ruby
resource.write_xml
# => "<resource xsi:schemaLocation='http://datacite.org/schema/kernel-4 …
```