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

Create a TemplateXMLRender #43

Open
Otoru opened this issue Nov 9, 2019 · 1 comment
Open

Create a TemplateXMLRender #43

Otoru opened this issue Nov 9, 2019 · 1 comment

Comments

@Otoru
Copy link

Otoru commented Nov 9, 2019

There are cases when there is a need for an API that returns a specific XML format. FreeSwitch integrations via XML-CURL for example.

For such purposes, it would be interesting to have XML templates that could be dynamically rendered, similar to TemplateHTMLRender.

If the project members are in agreement, I am willing to work on this new functionality.

@marco-silva0000
Copy link

marco-silva0000 commented Dec 12, 2019

I hacked my way into a copied version of this project to achieve that, but a supported standard way would be nice...
What I made was a DictRenderer that would convert the dict keys to XML tags, and the values would be the content... I can make a fork with this work if you want to see it

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