<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> <!-- get the location of variable_keywords.ditamap --></div><div> <xsl:param name="PATH2PROJ"></div><div> <xsl:apply-templates select="/processing-instruction('path2project-uri')[1]" mode="get-path2project"/></div><div> </xsl:param></div><div> <xsl:param name="WORKDIR"></div><div> <xsl:apply-templates select="/processing-instruction('workdir-uri')[1]" mode="get-work-dir"/></div><div> </xsl:param></div><div> <xsl:variable name="VAR-FILE" select="concat($WORKDIR,$PATH2PROJ,'variable_keywords.ditamap')"/></div><div><br></div><div>Then use the doc() function to point to this external file:</div><div><br></div><div><div><xsl:comment></div><div><span class="" style="white-space:pre">        </span><xsl:value-of select="doc($VAR-FILE)/map/keydef[@keys='var_release_version']/topicmeta/keywords/keyword"/> </div><div><span style="white-space:pre"> </span></xsl:comment></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"><<a href="mailto:mary@platfora.com" target="_blank">mary@platfora.com</a>></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's RELEASE_VERSION content is not output:</div><div style="font-size:13px"><br></div><div style="font-size:13px"><div> <xsl:comment></div><div><span style="white-space:pre-wrap">                </span><xsl:value-of select="/map/keydef[@keys='var_release_version']/topicmeta/keywords/keyword"/> </div><div><span style="white-space:pre-wrap"> </span></xsl:comment></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>