We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51ba232 commit d415361Copy full SHA for d415361
components/serializer.rst
@@ -905,7 +905,7 @@ The array keys beginning with ``@`` are considered XML attributes::
905
906
If you want create a node with value and attribute use this::
907
908
- array('foo' => array('@bar' => 'value', # => 'baz'));
+ array('foo' => array('@bar' => 'value', '#' => 'baz'));
909
910
// is encoded as follows:
911
// <?xml version="1.0"?>
0 commit comments