Enhanced the way XML is generated from xml::create()
The array that is passed can now add attributes to the xml nodes through array key @attributes, which utilizes the html::attr() method. Additionally, the logic for CDATA wrappers in improved so that you don't double wrap content that already contains the CDATA wrapper. This enhancement will also render a self-closed node when child nodes are not present.
Enhanced the way XML is generated from
xml::create()
The array that is passed can now add attributes to the xml nodes through array key
@attributes
, which utilizes thehtml::attr()
method. Additionally, the logic for CDATA wrappers in improved so that you don't double wrap content that already contains the CDATA wrapper. This enhancement will also render a self-closed node when child nodes are not present.