Links: -oxy-link Property
Used to specify that a particular element should be considered a link.
Oxygen XML Author allows you to declare some elements to be links. This is especially useful when working with many documents that reference each other. The links allow for an easy way to get from one document to another. Clicking the link marker will open the referenced resource in an editor.
To define the element that should be considered a link, you must use the
-oxy-link
property on the :before
or
:after
pseudo-element. The value of the property indicates the location of
the linked resource. Since links are usually indicated by the value of an attribute in most
cases it will have a value similar to attr(href)
Example: DocBook Link Elements
:before
pseudo-element
and their values are defined by the value of an
attribute.*[href]:before{
-oxy-link:attr(href);
content: "Click " attr(href) " for opening" ;
}
ulink[url]:before{
-oxy-link:attr(url);
content: "Click to open: " attr(url);
}
olink[targetdoc]:before{
-oxy-link: attr(targetdoc);
content: "Click to open: " attr(targetdoc);
}