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

Serializer wihout namespace #156

Open
victorgp89 opened this issue Nov 15, 2018 · 1 comment
Open

Serializer wihout namespace #156

victorgp89 opened this issue Nov 15, 2018 · 1 comment
Labels

Comments

@victorgp89
Copy link

Hi,

image

I need to make this XML as you can see it doesn't have namespace, it's posible?

When I tried this:

image

The result is :
image

I want to avoid xmlns=""

Thanks for advance

@evert
Copy link
Member

evert commented Nov 15, 2018

If you register the empty namespace, you can see the xmlns appear just once in the root element, and not in every child element. Like this:

$service->namespaceMap[''] = '';

Does that help?

@evert evert added the question label Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants