Skip to main content

parse_catalog

Function parse_catalog 

Source
pub fn parse_catalog(catalog_path: &Path) -> Result<Vec<CatalogEntry>, Error>
Expand description

Parse an OASIS XML Catalog file, returning namespace-to-path mappings.

Reads <uri name="..." uri="..."/> elements from the catalog.

ยงErrors

Returns an error if the file cannot be read or parsed as XML.