@@ -967,18 +967,20 @@ These are the options available:
967
967
============================== ================================================= ==========================
968
968
Option Description Default
969
969
============================== ================================================= ==========================
970
- ``xml_format_output `` If set to true, formats the generated XML with
971
- line breaks and indentation.
970
+ ``xml_format_output `` If set to true, formats the generated XML with `` false ``
971
+ line breaks and indentation
972
972
``xml_version `` Sets the XML version attribute ``1.1 ``
973
973
``xml_encoding `` Sets the XML encoding attribute ``utf-8 ``
974
974
``xml_standalone `` Adds standalone attribute in the generated XML ``true ``
975
975
``xml_type_cast_attributes `` This provides the ability to forgot the attribute ``true ``
976
976
type casting
977
- ``xml_root_node_name `` Sets the root node name (default: ``response ``).
978
- ``as_collection `` Always returns results as a collection, even if
977
+ ``xml_root_node_name `` Sets the root node name ``response ``
978
+ ``as_collection `` Always returns results as a collection, even if `` false ``
979
979
only one line is decoded
980
- ``decoder_ignored_node_types`` Sets nodes to be ignored in the decode ``[\XML_PI_NODE, \XML_COMMENT_NODE] ``
981
- ``encoder_ignored_node_types `` Sets nodes to be ignored in the encode ``[] ``
980
+ ``decoder_ignored_node_types `` Array of node types (`DOM XML_* constants `_) ``[\XML_PI_NODE, \XML_COMMENT_NODE] ``
981
+ to be ignored while decoding
982
+ ``encoder_ignored_node_types `` Array of node types (`DOM XML_* constants `_) ``[] ``
983
+ to be ignored while encoding
982
984
``load_options `` XML loading `options with libxml `_ ``\LIBXML_NONET | \LIBXML_NOBLANKS ``
983
985
``remove_empty_tags `` If set to true, removes all empty tags in the ``false ``
984
986
generated XML
@@ -1555,6 +1557,7 @@ Learn more
1555
1557
.. _`JMS serializer` : https://github.com/schmittjoh/serializer
1556
1558
.. _RFC3339 : https://tools.ietf.org/html/rfc3339#section-5.8
1557
1559
.. _`options with libxml` : https://www.php.net/manual/en/libxml.constants.php
1560
+ .. _`DOM XML_* constants` : https://www.php.net/manual/en/dom.constants.php
1558
1561
.. _JSON : http://www.json.org/
1559
1562
.. _XML : https://www.w3.org/XML/
1560
1563
.. _YAML : https://yaml.org/
0 commit comments