Skip to content

High level method for parsing a svg::Document ? #88

Open
@Its-Just-Nans

Description

@Its-Just-Nans

Hi

Is there a high level method to parse a string into a svg::Document ?

something like

let svg = r#"
 <svg .... </svg>
"#;

let document = svg::Document::from_str(&my_svg).unwrap(); // would return a Result<Document, ParseError>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions