- the source code of this component is licensed under the MIT license.
- see gnome.org for the licensing of libxml2.
{
"dependencies": {
"libxml2": {
"github": "miyako/libxml2",
"version": "*"
}
}
}
$one:="<tag att1=\"one\" att2=\"two\">\n content\n</tag>"
$two:="<tag att2=\"two\" att1=\"one\">\n content\n</tag>"
var $xmllint : cs.libxml2.xmllint
$xmllint:=cs.libxml2.xmllint.new()
ALERT($xmllint.c14n($one).data=$xmllint.c14n($two).data ? "same" : "not same")
/*
also check .error to be sure
*/