C14N C bindings (libxml2) for Crystal-Lang
Add it to Projectfile
deps do
github "vonkinglsey/C14N"
end
require "C14N"
require "C14N"
xml = File.read("assertion.xml")
doc = XML.parse(xml)
#returns a string
canonical_form = doc.canonicalize
I need all the help I can get, I'm not a professional developer.
- Fork it ( https://github.com/vonkingsley/C14N/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- vonkingsley vonkingsley - creator, maintainer