A symbol of comma in the xml definition

What does the symbol , actually do in the following definition?

Data string xml:",chardata"

xml itself
<root><source:encoding><![CDATA[Hello]]></source:encoding></root>

If the XML element contains character data, that data is
accumulated in the first struct field that has tag “,chardata”.
The struct field may have type byte or string.
If there is no such field, the character data is discarded.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.