Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a lightweight HTML/XML parser #25

Open
tinfoilboy opened this issue May 7, 2020 · 0 comments
Open

Implement a lightweight HTML/XML parser #25

tinfoilboy opened this issue May 7, 2020 · 0 comments

Comments

@tinfoilboy
Copy link
Owner

It would be a bit nicer to be able to parse a string and get a list of nodes from that string for uses such as creating nodes from a string and appending that to a document, or even loading an html file and being able to change the content of it for templating or similar.

I feel like this could be done with a simple function like

std::vector<CTML::Node> parse_nodes_to_string(const std::string& content)

Which then would just return the list of nodes that it was able to parse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant