Hi folks -
I'm unable to successfully use the "META_DATA" output type when instructing geXMLView on my report object.
My code is as follows:
Reports oReports = doc.getReports();
Properties properties = new Properties();
properties.setProperty(OutputPropertiesType.XML_UNIT, "metric");
for (int j = 0; j < oReports.getCount(); j++){
Report r = oReports.getItem(j);
XMLView xmlview = (XMLView)r.getXMLView(XMLView.META_DATA, properties);
System.out.println("============================= REPORT AS XML BEGIN ================");
System.out.println(xmlview.getContent());
System.out.println("============================= REPORT AS XML END ================");
}
Does anyone know how this output type filter is correctly utilized so I can, according to the API reference of REBEAN:
META_DATA
static final int META_DATA
Return the metadata of the report
See Also:
Constant Field Values
... obtain this XML?
Thanks