-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
No handling of namespaces #135
Comments
XML namespaces? |
yes sorry,misleading:) |
What kind of namespace handling do you need? I intentionally left this out because I thought nobody needs it :) |
I want a single xmlns to be added to the root element. So probably @xmlRoot(namespace="...") - or generically namespace on any xml attribute to overwrite the global setting, but thats very specific already. |
I'm on the same usecase :) |
In fact, We can use |
Does this seems easy/doable ? A single namespace could be set on each object.
would produce:
|
Why do not use |
You can add all these things by using |
I'm interested to be able to map : <foo:bar> to $fooBar property
<bar> to $bar property. |
👍 In our case some of the object data is metadata which should be mapped to a metadata namespace. |
You can review my pull request for this feature in schmittjoh/serializer#58 |
Was there any conclusion reached? |
We are not there yet, but @ajgarlag's pull request brings us pretty close. I'll close this, you find the latest progress on schmittjoh/serializer#58. |
Its not possible to use this bundle, if you want to add namespaces to the different results.
The text was updated successfully, but these errors were encountered: