Loads XML from the resource at the specified URL. If the callback method is specified, the URL is loaded asynchronously and the callback is called with the XML document after the document is loaded and parsed.
Renames the type embedded in an URL For example,
zk.xml.Utl.renType("/zkdemo/img/whatever-off.gif", "on");
//return "/zkdemo/img/whatever-on.gif"
as shown above, it assumes the type is embedded after dash (-).
the URL to modify
the type to replace with
the new URL after replacing the type
the DOM element.