<div dir="ltr">OK, I was able to solve this.  My problem being that I forgot the varialbe_keywords.ditamap was not always *being processed* --- so it was an external file located in the temp output dir during processing. So, the solution is, set a path to the file:<div><br></div><div><div> &lt;!-- get the location of variable_keywords.ditamap --&gt;</div><div>    &lt;xsl:param name=&quot;PATH2PROJ&quot;&gt;</div><div>      &lt;xsl:apply-templates select=&quot;/processing-instruction(&#39;path2project-uri&#39;)[1]&quot; mode=&quot;get-path2project&quot;/&gt;</div><div>  &lt;/xsl:param&gt;</div><div>  &lt;xsl:param name=&quot;WORKDIR&quot;&gt;</div><div>    &lt;xsl:apply-templates select=&quot;/processing-instruction(&#39;workdir-uri&#39;)[1]&quot; mode=&quot;get-work-dir&quot;/&gt;</div><div>  &lt;/xsl:param&gt;</div><div>  &lt;xsl:variable name=&quot;VAR-FILE&quot; select=&quot;concat($WORKDIR,$PATH2PROJ,&#39;variable_keywords.ditamap&#39;)&quot;/&gt;</div><div><br></div><div>Then use the doc() function to point to this external file:</div><div><br></div><div><div>&lt;xsl:comment&gt;</div><div><span class="" style="white-space:pre">        </span>&lt;xsl:value-of select=&quot;doc($VAR-FILE)/map/keydef[@keys=&#39;var_release_version&#39;]/topicmeta/keywords/keyword&quot;/&gt;                  </div><div><span style="white-space:pre">    </span>&lt;/xsl:comment&gt;</div></div><div><br></div><div><br></div><div>If anyone knows a more elegant solution, feel free to post it back.  </div><div><br></div><div>Mary<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 5, 2014 at 8:12 AM, Mary Anthony <span dir="ltr">&lt;<a href="mailto:mary@platfora.com" target="_blank">mary@platfora.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-size:13px">Hi,</div><div style="font-size:13px"><br></div><div style="font-size:13px">I am adding a comment to each file that contains a release number. The release number is one of many variables defined in a <b>variable_keywords.ditamap</b> file. This file is a child of my main <b>ditamap</b>.  </div><div style="font-size:13px"><br></div><div style="font-size:13px">Using the XPath Builder, I tested and found this path located the node I needed. (Below is a pic showing the path succeeding.)  When I encode this path in the dita2webhelp.xsl file, the transformation succeeds but the node&#39;s RELEASE_VERSION content is not output:</div><div style="font-size:13px"><br></div><div style="font-size:13px"><div>   &lt;xsl:comment&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;xsl:value-of select=&quot;/map/keydef[@keys=&#39;var_release_version&#39;]/topicmeta/keywords/keyword&quot;/&gt;      </div><div><span style="white-space:pre-wrap">  </span>&lt;/xsl:comment&gt;</div></div><div style="font-size:13px"><br></div><div style="font-size:13px">What am I doing wrong? </div><div style="font-size:13px"><br></div><div style="font-size:13px"><br></div><div style="font-size:13px"><br></div><div style="font-size:13px"><br></div><div style="font-size:13px">PICTURE SHOWING THE PATH </div><img src="cid:ii_14a18143e1a492f4" alt="Inline image 1" style="font-size: 13px; margin-right: 25px;"><br></div>
</blockquote></div><br></div></div></div></div></div>