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

Simplified file loading option? #291

Closed
bucanero opened this issue Jan 24, 2022 · 1 comment
Closed

Simplified file loading option? #291

bucanero opened this issue Jan 24, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request priority-low
Milestone

Comments

@bucanero
Copy link

Hi,

Could we add another loading option that takes a file path string and returns the XML tree?

Something like:

mxml_node_t *tree;

tree = mxmlLoadFilePath(NULL, "/path/to/filename.xml", MXML_OPAQUE_CALLBACK);

I know it's a trivial wrapper on mxmlLoadFile() but I think it could be useful for new users.

@michaelrsweet michaelrsweet self-assigned this Jul 14, 2022
@michaelrsweet michaelrsweet added enhancement New feature or request priority-low labels Jul 14, 2022
@michaelrsweet michaelrsweet added this to the Future milestone Jul 14, 2022
@michaelrsweet michaelrsweet modified the milestones: Future, v4.0 Feb 27, 2024
@michaelrsweet
Copy link
Owner

Added in latest Git master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low
Projects
None yet
Development

No branches or pull requests

2 participants