<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>oXygen XML Editor Blog</title>
</head>
<body>
<style type="text/css">
h1 a:hover {background-color:#888;color:#fff ! important;}
div#emailbody table#itemcontentlist tr td div ul {
list-style-type:square;
padding-left:1em;
}
div#emailbody table#itemcontentlist tr td div blockquote {
padding-left:6px;
border-left: 6px solid #dadada;
margin-left:1em;
}
div#emailbody table#itemcontentlist tr td div li {
margin-bottom:1em;
margin-left:1em;
}
table#itemcontentlist tr td a:link, table#itemcontentlist tr td a:visited, table#itemcontentlist tr td a:active, ul#summarylist li a {
color:#000099;
font-weight:bold;
text-decoration:none;
}
img {border:none;}
</style>
<div xmlns="http://www.w3.org/1999/xhtml" id="emailbody" style="margin:0 2em;font-family:Georgia,Helvetica,Arial,Sans-Serif;line-height:140%;font-size:13px;color:#000000;">
<table style="border:0;padding:0;margin:0;width:100%">
<tr>
<td style="vertical-align:top" width="99%">
<h1 style="margin:0;padding-bottom:6px;">
<a style="color:#888;font-size:22px;font-family:Arial,Helvetica,Sans-Serif;font-weight:normal;text-decoration:none;" href="http://blog.oxygenxml.com/" title="(http://blog.oxygenxml.com/)">About oXygen XML Editor</a>
</h1>
</td>
<td width="1%" />
</tr>
</table>
<hr style="border:1px solid #ccc;padding:0;margin:0" />
<table id="itemcontentlist">
<tr xmlns="">
<td style="margin-bottom:0;line-height:1.4em;">
<p style="margin:1em 0 3px 0;">
<a name="1" style="font-family:Arial,Helvetica,Sans-Serif;font-size:18px;" href="http://feedproxy.google.com/~r/AboutOxygenXmlEditor/~3/tZnLUSz5jiU/dita-13-branch-filtering-next.html?utm_source=feedburner&utm_medium=email">DITA 1.3 Branch Filtering - Next Generation of Reuse</a>
</p>
<p style="font-size:13px;color:#555;margin:9px 0 3px 0;font-family:Georgia,Helvetica,Arial,Sans-Serif;line-height:140%;font-size:13px;">
<span>Posted:</span> 02 Sep 2015 05:51 AM PDT</p>
<div style="margin:0;font-family:Georgia,Helvetica,Arial,Sans-Serif;line-height:140%;font-size:13px;color:#000000;"><div class="body"> <p class="p">Thanks to the hard working <a class="xref" href="https://www.oasis-open.org/committees/membership.php?wg_abbrev=dita" target="_blank">OASIS DITA TC Group</a> the DITA 1.3 standard is quite close to being released. Oxygen 17.1 which will be released probably in September this year will have experimental DITA 1.3 support. This will include publishing using a custom build of the latest <a class="xref" href="http://www.dita-ot.org/" target="_blank"><strong class="ph b">DITA Open Toolkit 2.x</strong></a> engine in which the main developer <a class="xref" href="http://www.elovirta.com/" target="_blank">Jarno Elovirta</a> has already added incipient support for key scopes and branch filtering.</p> <p class="p">In this blog post I'm going to give you a small example of how branch filtering can benefit two cases of reuse which could not be done previously. You can read more about branch filtering in the <a class="xref" href="http://www.oxygenxml.com/dita/1.3/specs/index.html#archSpec/base/branch-filtering.html" target="_blank">DITA 1.3 specs</a>.</p> <div class="section"><h2 class="title sectiontitle">Case 1 - Combine Two Profiles in the Same Publication</h2> <div class="p">Let's say you have a <strong class="ph b">DITA Project</strong> about preparing and cooking vegetables. And your DITA Map looks like this:<pre class="pre codeblock language-xml"><span class="hl-tag" style="color: #0000ff"><!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"></span><br /><strong class="hl-tag" style="color:#000096"><map></strong><br /> <strong class="hl-tag" style="color:#000096"><title></strong>Cooking vegetables<strong class="hl-tag" style="color:#000096"></title></strong><br /> <strong class="hl-tag" style="color:#000096"><topicref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"cleaningTableArea.dita"</span> <span class="hl-attribute" style="color: #ff7935">audience</span>=<span class="hl-value" style="color: #993300">"novice"</span><strong class="hl-tag" style="color:#000096">/></strong><br /> <strong class="hl-tag" style="color:#000096"><topicref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"preparingVegetables.dita"</span><strong class="hl-tag" style="color:#000096">/></strong><br /> <strong class="hl-tag" style="color:#000096"><topicref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"addingExtraFlavor.dita"</span> <span class="hl-attribute" style="color: #ff7935">audience</span>=<span class="hl-value" style="color: #993300">"expert"</span><strong class="hl-tag" style="color:#000096">/></strong><br /> <strong class="hl-tag" style="color:#000096"></map></strong></pre> You have some content common both for <strong class="ph b">expert</strong> and <strong class="ph b">novice</strong> users but you also have content which is specific for a target audience. You do not need to teach <strong class="ph b">expert</strong> chefs how to clean the table and you do not want to teach <strong class="ph b">novice</strong> cooks about enhanced flavoring techniques. </div> <div class="p">All is fine until at some point you decide to produce a publication which contains merged inside both the novice and the expert map contents. And here's where branch filtering comes for help. You can create a main DITA Map which reuses your current DITA Map with two profiling contexts:<pre class="pre codeblock language-xml"><span class="hl-tag" style="color: #0000ff"><!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"></span><br /><strong class="hl-tag" style="color:#000096"><map></strong><br /> <strong class="hl-tag" style="color:#000096"><title></strong>Cooking Vegetables.<strong class="hl-tag" style="color:#000096"></title></strong><br /> <strong class="hl-tag" style="color:#000096"><topichead</strong> <span class="hl-attribute" style="color: #ff7935">navtitle</span>=<span class="hl-value" style="color: #993300">"Cooking for Beginners"</span> <span class="hl-attribute" style="color: #ff7935">keyscope</span>=<span class="hl-value" style="color: #993300">"novice"</span><strong class="hl-tag" style="color:#000096">></strong><br /> <strong class="hl-tag" style="color:#000096"><topicref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"vegetables.ditamap"</span> <span class="hl-attribute" style="color: #ff7935">format</span>=<span class="hl-value" style="color: #993300">"ditamap"</span><strong class="hl-tag" style="color:#000096">></strong><br /> <strong class="hl-tag" style="color:#000096"><ditavalref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"novice.ditaval"</span><strong class="hl-tag" style="color:#000096">/></strong><br /> <strong class="hl-tag" style="color:#000096"></topicref></strong><br /> <strong class="hl-tag" style="color:#000096"></topichead></strong><br /> <br /> <strong class="hl-tag" style="color:#000096"><topichead</strong> <span class="hl-attribute" style="color: #ff7935">navtitle</span>=<span class="hl-value" style="color: #993300">"Cooking for Experts"</span> <span class="hl-attribute" style="color: #ff7935">keyscope</span>=<span class="hl-value" style="color: #993300">"expert"</span><strong class="hl-tag" style="color:#000096">></strong><br /> <strong class="hl-tag" style="color:#000096"><topicref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"vegetables.ditamap"</span> <span class="hl-attribute" style="color: #ff7935">format</span>=<span class="hl-value" style="color: #993300">"ditamap"</span><strong class="hl-tag" style="color:#000096">></strong><br /> <strong class="hl-tag" style="color:#000096"><ditavalref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"expert.ditaval"</span><strong class="hl-tag" style="color:#000096">/></strong><br /> <strong class="hl-tag" style="color:#000096"></topicref></strong><br /> <strong class="hl-tag" style="color:#000096"></topichead></strong><br /><strong class="hl-tag" style="color:#000096"></map></strong></pre></div> </div> <div class="section"><h2 class="title sectiontitle">Case 2 - Reusing Common Topics with Different Product Names</h2><p class="p">Let's say you have a simple <strong class="ph b">DITA</strong> task in which you have described how a certain task can be performed for a certain product. In our case, the task describes peeling <strong class="ph b">potatoes</strong>:</p><img class="image" id="topic_jc4_mvm_ft__image_npn_dcn_ft" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjUAAAC9CAIAAADECxtTAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABp8SURBVHhe7Zxbjlw3kkC9K6nWI6n20EsQ5K7f+ehNGLBRCxkDPXZ9CGiggQa0APV4ZgBPkEHyksHHfWRmJbPyHARuJ8lgRJCXjKgsVfuHPwEAAObD1qcfAAAAro2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cLwNyX+VL8z8RSFLAcply0Z0R3FC1uVCp8XbpD6tIFvkntpIaO/9YA4HgiDIFSUkpruH+uQwhwNBEOSKEhLT3UN9cpjDgSAIckUJienuoT45zOFAEAS5ooTEdPdQnwAAYEaoTwAAMCPUJwAAmBHqEwAAzAj1CQAAZoT6BAAAM0J9AgCAGaE+AQDAjFCfAABgRqhPAAAwI9QnAACYEeoTAADMCPUJAABmhPoEAAAzQn0CAIAZ6dYnAACA6+LqkZYlAACAqaA+AQDAjFCfAABgPv788/8BAVd3+F5c4/IAAAAASUVORK5CYII=" /></div> <div class="p">The task works and at some point in your <strong class="ph b">Vegetables Soup</strong> publication you realise you need to write a similar task about peeling <strong class="ph b">cucumbers</strong>. The task is exactly the same, except the product name. So naturally you want to reuse the existing written task. For this we re-write the task so that instead of of the product <strong class="ph b">potatoes</strong> it contains two consecutive profiled product names:<pre class="pre codeblock language-xml">Peeling <strong class="hl-tag" style="color:#000096"><ph</strong> <span class="hl-attribute" style="color: #ff7935">product</span>=<span class="hl-value" style="color: #993300">"potatoes"</span><strong class="hl-tag" style="color:#000096">></strong>potatoes<strong class="hl-tag" style="color:#000096"></ph></strong><strong class="hl-tag" style="color:#000096"><ph</strong> <span class="hl-attribute" style="color: #ff7935">product</span>=<span class="hl-value" style="color: #993300">"cucumbers"</span><strong class="hl-tag" style="color:#000096">></strong>cucumbers<strong class="hl-tag" style="color:#000096"></ph></strong></pre>and include the task in the main DITA Map in two places with different ditaval filters applied:<pre class="pre codeblock language-xml"><span class="hl-tag" style="color: #0000ff"><!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"></span><br /><strong class="hl-tag" style="color:#000096"><map></strong><br /> <strong class="hl-tag" style="color:#000096"><title></strong>Peeling Vegetables.<strong class="hl-tag" style="color:#000096"></title></strong><br /> <strong class="hl-tag" style="color:#000096"><topichead</strong> <span class="hl-attribute" style="color: #ff7935">navtitle</span>=<span class="hl-value" style="color: #993300">"Potatoes"</span><strong class="hl-tag" style="color:#000096">></strong><br /> <strong class="hl-tag" style="color:#000096"><topicref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"peeling.dita"</span><strong class="hl-tag" style="color:#000096">></strong><br /> <strong class="hl-tag" style="color:#000096"><ditavalref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"potatoes.ditaval"</span><strong class="hl-tag" style="color:#000096">/></strong><br /> <strong class="hl-tag" style="color:#000096"></topicref></strong><br /> <strong class="hl-tag" style="color:#000096"></topichead></strong><br /> <br /> <strong class="hl-tag" style="color:#000096"><topichead</strong> <span class="hl-attribute" style="color: #ff7935">navtitle</span>=<span class="hl-value" style="color: #993300">"Cucumbers"</span><strong class="hl-tag" style="color:#000096">></strong><br /> <strong class="hl-tag" style="color:#000096"><topicref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"peeling.dita"</span><strong class="hl-tag" style="color:#000096">></strong><br /> <strong class="hl-tag" style="color:#000096"><ditavalref</strong> <span class="hl-attribute" style="color: #ff7935">href</span>=<span class="hl-value" style="color: #993300">"cucumbers.ditaval"</span><strong class="hl-tag" style="color:#000096">/></strong><br /> <strong class="hl-tag" style="color:#000096"></topicref></strong><br /> <strong class="hl-tag" style="color:#000096"></topichead></strong><br /><strong class="hl-tag" style="color:#000096"></map></strong></pre></div> <p class="p">This kind of usage will produce in the HTML output folder two topic HTML files from the single <span class="ph filepath">peeling.dita</span>, one for each filter context.</p> <p class="p">The DITA samples for this post can be downloaded from <a class="xref" href="http://www.oxygenxml.com/forum/files/branchFilteringBlogSamples.zip" target="_blank">http://www.oxygenxml.com/forum/files/branchFilteringBlogSamples.zip</a>.</p> <p class="p">As usual any feedback is welcomed.</p> <p class="p">If you would like to beta test <strong class="ph b">Oxygen XML Editor 17.1</strong> with experimental DITA 1.3 support please contact us: <strong class="ph b">support@oxygenxml.com</strong>.</p> </div><img src="http://feeds.feedburner.com/~r/AboutOxygenXmlEditor/~4/tZnLUSz5jiU?utm_source=feedburner&utm_medium=email" height="1" width="1" alt=""/></div>
</td>
</tr>
</table>
<table style="border-top:1px solid #999;padding-top:4px;margin-top:1.5em;width:100%" id="footer">
<tr>
<td style="text-align:left;font-family:Helvetica,Arial,Sans-Serif;font-size:11px;margin:0 6px 1.2em 0;color:#333;">You are subscribed to email updates from <a href="http://blog.oxygenxml.com/">oXygen XML Editor Blog</a>
<br />To stop receiving these emails, you may <a href="https://feedburner.google.com/fb/a/mailunsubscribe?k=y_tRXtumvTurKTedh51JnlYsGXw">unsubscribe now</a>.</td>
<td style="font-family:Helvetica,Arial,Sans-Serif;font-size:11px;margin:0 6px 1.2em 0;color:#333;text-align:right;vertical-align:top">Email delivery powered by Google</td>
</tr>
<tr>
<td colspan="2" style="text-align:left;font-family:Helvetica,Arial,Sans-Serif;font-size:11px;margin:0 6px 1.2em 0;color:#333;">Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States</td>
</tr>
</table>
</div>
</body>
</html>