example XML
command createXmlData = exec_js {
"Java.type(\"catdata.Util\").writeFile(\" <data xmlns=\\\"http://example.org\\\">\\n    <item>\\n        <name>Hello</name>\\n    </item>\\n    <item>\\n        <name>Hello</name>\\n    </item>\\n</data> \", \"tempX.xml\")" 
}
instance I = import_xml_all "tempX.xml"
command exportXmlData = export_rdf_instance_xml I "fileO.xml" {
	external_types
		Integer -> "http://www.w3.org/2001/XMLSchema#Integer" "x => x.toString()"
}
 Keywords:
			export_rdf_instance_xml
			import_xml_all
			exec_js
Options:
instance I
R| ID | predicate | subject | object | 
|---|
| 0 | cql://json#data | ?0 | ?1 | 
| 1 | cql://json#name | ?2 | Hello | 
| 2 | cql://json#item | ?1 | ?3 | 
| 3 | cql://json#item | ?1 | ?2 | 
| 4 | cql://json#xmlns | ?1 | http://example.org | 
| 5 | cql://json#name | ?3 | Hello | 
command createXmlData
Java.type("catdata.Util").writeFile(" \n    - \n        Hello\n    \n
- \n        Hello\n    \n ", "tempX.xml")
command exportXmlData
Size 25