xml-include

Crates.ioxml-include
lib.rsxml-include
version0.1.0
sourcesrc
created_at2024-10-16 20:51:35.836433
updated_at2024-10-16 20:51:35.836433
descriptionSmall utility library for resolving XML includes
homepagehttps://github.com/python-systems/xml-include
repositoryhttps://github.com/python-systems/xml-include
max_upload_size
id1412349
size17,086
Petr Šťastný (SoptikHa2)

documentation

README

xml-include

Crates.io Documentation Build status License: MIT

xml-include is library to pre-process XML include statements and merge them into a single XML file.

Usage

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();
}
Commit count: 3

cargo fmt