The dxd:ref Element

Description

Element used to reference documentation from another source. Used to transclude content from the source into the current context. Typical scenarios include reusing documentation from an overridden component, or to reference a component's documentation from a dxd:documentation source.

Attributes

idOptionalSpecifies a unique ID. Can be used by the dxd:ref element to reference this block from another source.
idrefRequiredSpecifies component's ID to reference
sourceOptionalSpecifies the absolute or relative path to the file containing the referenced component. If this value is not supplied it is assumed that it is available in the current source file.

Content Model

Example

Stylesheet-A.xsl

<dxd:parameter name="my.param" default="false">
    <dxd:description>My Description</dxd:description>
    <dxd:values>
        <dxd:value name="true">A True value</dxd:value>
        <dxd:value name="false">A False value</dxd:value>
    </dxd:values>
</dxd:parameter>
<xsl:param name="my.param">false</xsl:param>
                
            

Stylesheet-B.xsl

<dxd:parameter id="my.param.override" name="my.param" default="true">
    <dxd:ref source="Stylesheet-A.xsl" idref="my.param"/>
</dxd:parameter>
<xsl:param name="my.param">true</xsl:param>