Edit online

Reuse with Branch Filtering

Read time: 1 minute(s)

With branch filtering you can combine two profiles of the same DITA Map in a larger publication.

Creating a Phones Catalogues publication

If you already have a DITA Map from which you can obtain publications for various mobile phone versions based on the profiling filters applied to it, you can use branch filtering to create a larger publication which incorporates the publications for all mobile phone versions:

….................
  <topicref href="phoneDetails.ditamap" format="ditamap">
   <ditavalref href="ditaval/X1000Branch.ditaval">
    <ditavalmeta><dvrResourceSuffix>1</dvrResourceSuffix></ditavalmeta>
   </ditavalref>
  </topicref>
….......................
  <topicref href="phoneDetails.ditamap" format="ditamap">
   <ditavalref href="ditaval/X2000Branch.ditaval">
    <ditavalmeta><dvrResourceSuffix>2</dvrResourceSuffix></ditavalmeta>
   </ditavalref>
  </topicref>
…...................

You can find a more detailed example and download samples for reuse based on branch filtering in this blog post: DITA 1.3 Branch Filtering - Next Generation of Reuse