Relative Paths for MCML

You can use relative paths for HTTP resources. The first HTTP response URI in the document is used as the base URI, and then the relative path is appended to it.

The following example shows an example of using a relative path:

<Mcml xmlns="">
  <UI Name="RelPath">
      <!-- Relative image path -->
      <Graphic Content="file://./Images/FourBoxGraphic.png"/>

For more information about relative paths, see the WebRelativePaths.mcml sample in the Sample Explorer.

Sample Explorer

  • Web > Relative Paths.mcml
  • Web > Relative Paths (Another)

See Also