Skip to main content

parse_transforms

Function parse_transforms 

Source
pub fn parse_transforms(
    transforms_node: Node<'_, '_>,
) -> Result<Vec<Transform>, TransformError>
Expand description

Parse a <Transforms> element into a Vec<Transform>.

Reads each <Transform Algorithm="..."> child element and constructs the corresponding Transform variant. Unrecognized algorithm URIs produce an error.

For Exclusive C14N, also parses the optional <InclusiveNamespaces PrefixList="..."> child element.