1 unstable release
0.1.0 | Oct 16, 2024 |
---|
#2552 in Parser implementations
177 downloads per month
Used in sbe-codegen
8KB
107 lines
xml-include
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();
}
Dependencies
~0.5–1MB
~21K SLoC