README.adoc in relaton-ietf-0.1.0 vs README.adoc in relaton-ietf-0.5.0
- old
+ new
@@ -113,9 +113,22 @@
<doctype>rfc</doctype>
</ext>
</bibdata>"
----
+=== Parse a file locally
+
+[source,ruby]
+----
+item = Relaton::Provider::Ietf.from_rfcxml File.read("rfc.xml")
+=> #<RelatonIetf::IetfBibliographicItem:0x007fa8cda79ab8
+...
+
+item.to_xml bibdata: true
+=>"<bibdata>
+...
+----
+
== Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/metanorma/relaton-ietf.
== License