Open visorgames opened 5 years ago
+1 when will this be available please ?
There is no plan for it at the moment.
How can we contribute to pull this through ? very helpful
@mask
How can we contribute to pull this through ? very helpful
I found a library that is better adapted and also supports comments
parsing, https://github.com/oozcitak/xmlbuilder2
I have seen the information you left from many libraries, I believe you are also very anxious
XML-Comments can now be parsed or build. The comments can be accessed via the commentskey (default:
$comments
) under their parent node. To activate this feature, the optionparseComments
has to be set totrue
.To support multiple comments contained in the same tag, the comments are pushed to an array like any other node. Comments are only parsed if they are at least inside the root node. The position of comments in the xml is only reliably preserved if they are not placed in between child tags with the same name (eg.:
<test>...</test><!-- comment --><test>...</test>
) or are split by an other child tag (eg.:<!-- comment1 --><test/><!-- comment2 -->
). Otherwise the original xml-structure can be rearranged, as nodes with the same tag-name get parsed into an array.This feature was already requested in the past: #44, #475