xml-include 0.1.0

Small utility library for resolving XML includes
Documentation
  • Coverage
  • 11.11%
    1 out of 9 items documented0 out of 2 items with examples
  • Size
  • Source code size: 18.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.57 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • python-systems/xml-include
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SoptikHa2 M0dEx

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