I'm trying to project a series of objects and nested objects to XML, and I'm having difficulties getting the XML representation exactly the way I need it to be. Here's what I'm working with, nothing complicated:
Class XMLTest Extends (%RegisteredObject, %XML.Adaptor)
{
Property Id As Id;
}
Class Id Extends (%RegisteredObject, %XML.Adaptor)
{
Property Value As%String (XMLPROJECTION = "attribute");
}By default it seem closing tags are used with all elements, as such:
<XMLTest><IdValue="D1949EE1-7D03-4666-9548-D1A949E10327"></Id></XMLTest>Whereas I need these elements

.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)