README.md in xml-mixup-0.1.1 vs README.md in xml-mixup-0.1.2
- old
+ new
@@ -28,10 +28,23 @@
# `node` will correspond to the last thing generated. In this
# case, it will be a text node containing 'lolwut'.
doc = node.document
puts doc.to_xml
+# => <?xml version="1.0"?>
+# => <?xml-stylesheet href="/transform" type="text/xsl"?>
+# => <!DOCTYPE html>
+# => <html xmlns="http://www.w3.org/1999/xhtml">
+# => <head>
+# => <title>look ma, title</title>
+# => <base href="http://the.base/url"/>
+# => </head>
+# => <body>
+# => <h1>Illustrious Heading</h1>
+# => <p>lolwut</p>
+# => </body>
+# => </html>
```
## Yet another XML markup generator?
Some time ago, [I](https://doriantaylor.com/) wrote a Perl module called
@@ -182,9 +195,17 @@
## Contributing
Bug reports and pull requests are welcome at
https://github.com/doriantaylor/rb-xml-mixup.
+
+## The Future
+
+As mentioned, this is pretty much a straight-across port
+of [Role::Markup::XML](https://metacpan.org/pod/Role::Markup::XML),
+where it makes sense to bolt a bunch of `_FOO`-looking instance
+methods onto an object so you can use them to make more streamlined
+methods.
## License
This software is provided under
the [Apache License, 2.0](https://www.apache.org/licenses/LICENSE-2.0).