niten
12 years agoGuide
Loading and Parsing xml file in component
Hi everyone,
I'm wondering if there is a way to load and parse an xml file from the assets librairie in a custom component.
I looked in the freemarker doc and there is this
Map root = new HashMap();
root.put(
"doc",
freemarker.ext.dom.NodeModel.parse(new File("the/path/of/the.xml")));
but I can't make it work in studio using