xml-include 0.1.0

Small utility library for resolving XML includes
Documentation

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();
}