Decoder for Pascal VOC XML format
format : PascalVoc.Internal.PascalVoc -> String
Encode PascalVoc
to XML.
data = PascalVoc.pascalVoc { filename = "01.png", size = { width = 10, height = 15, depth = 3 }, objects = [] }
format data == "<annotation ><filename >01.png</filename><size ><width >10</width><height >15</height><depth >3</depth></size></annotation>