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

Set parser at parse time #63

Open
tfwright opened this issue Sep 12, 2018 · 1 comment
Open

Set parser at parse time #63

tfwright opened this issue Sep 12, 2018 · 1 comment

Comments

@tfwright
Copy link

Currently it seems that it is only possible to specify a parser for MultiXml to use at the class level like so: MultiXml.parser = :ox. However, this makes it quite awkward to use different parsers in the same application. It would be preferable to allow the parser to be set for individual parse operations like so: MultiXml.parse(xml, parser: :ox). If there's support for this idea, I would be happy to put together a PR.

@sferik
Copy link
Owner

sferik commented Sep 14, 2023

Hey! If you still want this feature I’d accept a pull request that supports it. Sorry for the multi-year delay.

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

No branches or pull requests

2 participants