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

Add a subelement parameter so that only that element will be considered as root #15

Open
janmichaelyu opened this issue May 24, 2017 · 1 comment

Comments

@janmichaelyu
Copy link

Might help when xml documents use the envelope pattern and we want to hide metadata in the view.

@grtjn
Copy link
Owner

grtjn commented May 26, 2017

Could be useful.

Note that you can also achieve this by tweaking the url to provide a portion of the XML (or JSON) only, for instance using /v1/docs with a transform param. Alternatively, you could process the XML client-side, and make use of the data instead of the uri attribute on the view-file directive.

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