xml
xml copied to clipboard
sabre/xml is an XML library that you may not hate.
I think we should strip down the supported php version matrix what do you guys think about dropping at least 7.1/7.2 ? see https://www.php.net/supported-versions.php
Sometimes XML might not be in UTF-8 encoding, It would be nice to add the encoding parameter as optional to the *parse* method ` public function parse($input, string $contextUri =...
Right now the parser falls back to `Sabre\Xml\Element\Base::xmlDeserialize` if the element's name is not registered in $this->elementMap. https://github.com/sabre-io/xml/blob/a6af111850e7536d200d9637c34885cd3c77a86c/lib/Reader.php#L286 I propose making this default configurable. With some XMLs, people extend them...
I have an unusual situation the service I'm consuming returns the tag 'Address' and one of its children also has the tag 'Address' like the example below `[Endereco] => Array...
I need to create an XML file that has the following Doctype: ``` ``` How can add this Doctype with this library? Thanks.
What an excellent library, thanks for sharing this. It is mostly working for me, but I'm struggling how to get an element that has a #text value and attributes, e.g....
Hi, I have this weird looking XML and I'm trying to convert it to a simple array. So far I've managed to do most of it with `keyValue` and `repeatingElements`...
Hi, I am tring to get the next configuration, without any prefix: ```XML ``` According to the documentation I wrote: ```PHP $writer->write([ '{http://www.eurotax.com/webservices/}GetValuation' => $parameters ]); //result: ``` So, I...
Using sabre with XSD validation I'm getting unexpected result when using the XSD snippet from documentation. There's actually 2 problems with suggested solution: `$service = new Sabre\Xml\Service(); $reader = $service->getReader();...
Hi,  I need to make this XML as you can see it doesn't have namespace, it's posible? When I tried this:  The result is :  I want...