>
<xsl:import href="fallback://lenya/resources/kupu/apache-lenya/lenya/kupusave.xsl"/>
<xsl:import href="fallback://lenya/xslt/bxe/change-object-path-back.xsl"/>
<xsl:import href="fallback://lenya/modules/bxe/xslt/change-object-path-back.xsl"/>
<xsl:template match="@*|node()">
<xsl:copy>
String tempSourceUri = "context://lenya/pubs/" + pubId + "/work/webdav/content/"
+ doc.getArea() + "/" + path + ".tmp";
tempSourceUri = tempSourceUri.substring("lenya://".length());
tempSourceUri = "context://" + tempSourceUri;
tempSourceUri = "context:" + tempSourceUri;
try {
SourceUtil.copy(resolver, uploadSourceUri, tempSourceUri, true);