When oracle released the 10.1.3.3.3+ site studio product they delivered a new contributor application along with new data file formats. Inside these data files the structure has changed from previous versions. Here is an example of the new format:
<?xml version="1.0" encoding="UTF-8" ?>
As you can see a near full path is embedded in the xml file. In this case if I were to change the security group of this image from public to secure the page using this data file would render with a missing image. The same is also true of the doc type and/or account. What can we do about this?
The documentation mentions that the function ssWeblayoutUrl() is able to work with the dDocName: This script extension is used to determine the full web address of a file from either the path or dDocName. This is most typically used for paths to images in data files.
Great. It turns out that through the use of a configuration variable added to config.cfg or through the admin server under general configuration week in control what gets embedded in data files. Note: this is available in build 251 or higher.
On a related note, check out another blog post starring ssWeblayoutUrl over at Web Monkey Magic.