c:use-package

<c:use-package
  name = type_name >
  <!-- Content: (c:accept | c:override)* -->
</c:use-package>

Specifies a package dependency.

Category
declaration
Permitted parent elements
c:module
c:package

Attributes

name The class name of the package to use. Must be a fully-qualified name when using from implicit or unnamed packages.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

Example
<c:use-package name='com.example.LayoutPackage'>
   <c:override>
      <c:template name='content' expand-text='yes'>
         <h1>{this.title}</h1>
         ...
      </c:template>
   </c:override>
</c:use-package>
Note: Differences with xsl:use-package

While xsl:use-package can be used only at the highest import precedence level, c:use-package can be used at any level.