| Crates.io | xml-include |
| lib.rs | xml-include |
| version | 0.1.0 |
| created_at | 2024-10-16 20:51:35.836433+00 |
| updated_at | 2024-10-16 20:51:35.836433+00 |
| description | Small utility library for resolving XML includes |
| homepage | https://github.com/python-systems/xml-include |
| repository | https://github.com/python-systems/xml-include |
| max_upload_size | |
| id | 1412349 |
| size | 17,086 |
xml-include is library to pre-process XML include statements and merge them into a single XML file.
use std::path::PathBuf;
use xml_include::resolve_xml_includes;
fn main() {
let input_file = PathBuf::from("tests/examples/TradingApi.xml");
let reference_file = PathBuf::from("tests/examples/TradingApi.ref.xml");
let resolved_content = resolve_xml_includes(&input_file).unwrap();
}