Home » XML » XML_Serializer » Bug #4115
Serialize Comments
Details
| Request #4115 | Serialize Comments |
|---|---|
| Submitted | 2005-04-11 12:57 UTC |
| From | igantius dot reilly at free dot fr |
| Status | Closed |
| Package | XML_Serializer |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-04-11 12:57 UTC] igantius dot reilly at free dot fr
Description:
------------
It would be nice to be able to serialize comments inside an element.
by declaring an option "comment", like with "attributes" and "content" - and soon CDATA :-) ...
"contentName" => '_content',
"commentName" => '_comment',
Comments are useful when generating XML files for standalone use by customers. They allow to explain inline the data structure without the need for an external documentation.