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

[XML Markers] Export XML #71

Closed
Tracked by #64
AsherGlick opened this issue Jul 24, 2022 · 0 comments
Closed
Tracked by #64

[XML Markers] Export XML #71

AsherGlick opened this issue Jul 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@AsherGlick
Copy link
Owner

The generated classes need a way to export a a file as XML. This should be done by creating a new virtual function of

string as_xml()

on the parseable class. Then implementing it on each of the subclasses.

For Icon and Trail the function should return the entire node along with all of the attributes it uses. Unused attributes should NOT be exported as attributes.

For MarkerCategory the function should export itself as a node, and if it has children then it should also export them.

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

No branches or pull requests

1 participant