https://github.com/miyako/libxml2
https://github.com/miyako/libxml2
4d-class 4d-component xml
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/miyako/libxml2
- Owner: miyako
- License: mit
- Created: 2024-11-30T10:26:22.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-03-13T07:43:47.000Z (about 1 month ago)
- Last Synced: 2025-03-13T08:32:58.758Z (about 1 month ago)
- Topics: 4d-class, 4d-component, xml
- Language: 4D
- Homepage: https://miyako.github.io/libxml2/
- Size: 3.46 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](LICENSE)
### Licensing
* the source code of this component is licensed under the [MIT license](https://github.com/miyako/cpdf/blob/master/LICENSE).
* see [gnome.org](https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home) for the licensing of **libxml2**.# libxml2
## dependencies.json
```json
{
"dependencies": {
"libxml2": {
"github": "miyako/libxml2",
"version": "latest"
}
}
}
```
# libxml2## Usage - `xmllint`
```4d
$one:="\n content\n"
$two:="\n content\n"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
*/
```