Replies: 2 comments 1 reply
|
This behaviour makes the resulting XML document too verbose. Maybe there could be a MODE flag added to configure this behaviour ? |
1 reply
|
That would be ideal. What I ended up doing feelsbadman.jpg but it works: $strippedXml = str_replace('default:', '', $responseFragment); |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have xml that looks like this coming from an api response
When I load this into fluidxml like so
$responseXml = new FluidXml((string) $response->getBody());and then output the new FluidXml document with
xml()I getI'd prefer not to have to deal with a generated namespace that is not actually used. Is there a way I can prevent FluidXml from creating this on the non-namespaced nodes?
All reactions