SilkPage maintains metadata information about your site
architecture, pages and their links. This information is kept in
the layout.xml discussed in Section 1.2, “Create Site
Layout”. Using this approach, SilkPage separates, the
site content from its logical structure. Site pages and documents
are linked using olink that
makes it possible to locate the target element in the site content
and generate the site links automatically. olinks are resolved from a database of
targets that is maintained by SilkPage. This solution reduces link
maintenance of your Website significantly.
olink: the main element for
linking pages and elements.
targetdoc the
id of the target
webpage that must exist and
its id must be unique.
targetptr the
id attribute value of the
target element within the target webpage. In order to link to the top of a
given page, the value of the targetptr must be the same as the
targetdoc.
ulink: mainly used to
directly link to external HTML pages and documents. Such links are
not verified while processing, so they require manual maintainance
in order to be valid URLs. Therefore, it's bad idea to use
ulink to link directly to the
generated XHTML pages; if you change the hierarchy or rename a
page, the link will become stale. With olink this won't happen.
url the URL of the target
HTML document.