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
IDpredicatesubjectobject
0cql://json#name?0Hello
1cql://json#name?1Hello
2cql://json#item?2?1
3cql://json#item?2?0
4cql://json#xmlns?2http://example.org
5cql://json#data?3?2


command createXmlData

Java.type("catdata.Util").writeFile(" \n    \n        Hello\n    \n    \n        Hello\n    \n ", "tempX.xml")

command exportXmlData

Size 25