to the main page... about these slides...

Using schema default mechanisms with XLink

- many XLink properties can conveniently be specified as defaults


One may write

  <A xlink:href="..."/>
instead of
  <A xlink:type="simple" xlink:href="..." 
     xlink:show="replace" xlink:actuate="onRequest"/>
if proper defaults have been defined for the A element by the schema.

In DSD, this could be done by:
      <Element Name="A"><Attribute Name="href"/></Element>
    <DefaultAttribute Name="xlink:type" Value="simple"/>
    <DefaultAttribute Name="xlink:show" Value="replace"/>
    <DefaultAttribute Name="xlink:actuate" Value="onRequest"/>

(The DSD language is the topic of a later section.)