Menu

#190 Copy-graphics fails on Windows

Current_release
accepted
map-driven (5)
1
2014-10-09
2014-10-09
No

This code map2graphicMap.xsl produces Windows paths, rather than URLs, under Windows:

      <xsl:variable name="absoluteUrl" as="xs:string"
        select="relpath:newFile($inputdir, .)"
      />


<gmap:graphic-map-item input-url="{$absoluteUrl}" output-url="{relpath:newFile($imagesOutputPath, relpath:getName($absoluteUrl))}"/>

That causes the generation of the result URL to fail because the code sees it as an absolute URL.

Need to use a URL form of the inputdir parameter.

Discussion

Anonymous
Anonymous

Add attachments
Cancel