conkeyrefまたはconrefを含むトピックタイトルを表示するにはどうすればよいですか?
conrefを表示するためにインデックスを編集することができます。
説明
タイトルにconrefのみが含まれている場合、DITAマップビューと検索結果ビューではタイトルが空白で表示されます。既存のインデックスを修正することができます。
解決法
conkeyrefについては、TEXTML Administration(TEXTML管理)パースペクティブで、次の操作を行います:
-
Index Definition(インデックス定義)ファイルを編集します。注意: インデックス定義文書を編集する際には注意が必要です。変更はインデックス作成プロセスに大きな影響を与え、文書に誤りがあれば、データの破損やその他のエラーにつながる可能性があります。
-
<index NAME="title" SYNC="True">
インデックスの以下の行のコメントを外します:<!-- The following XPath resolves @conkeyref attributes into the target element id, pre and postfixed with "%" --> <!--<element DEPTH="0" XPATH="normalize-space(string-join(for $e in (/*/*[contains(@class,' topic/title ')]//node()) return (if ($e/@conkeyref) then concat('%', substring-after($e/@conkeyref,'/'), '%') else if ($e/self::text()) then string(normalize-space($e)) else ''), ' '))"/>-->
- インデックスの作成が終了したら、IXIA CCMS Desktopを再起動します。
キーワードの場合、TEXTML Administration(TEXTML管理)パースペクティブで以下を実行します:
-
Index Definition(インデックス定義)ファイルを編集し、
<index NAME="title" SYNC="True">
インデックスに以下の行を追加します:<!-- Added for keywords in titles, the following XPath resolves @keyword attributes into the target element id, pre and postfixed with "%" --> <element DEPTH="0" XPATH="normalize-space(string-join(for $e in (/*/*[contains(@class,' topic/title ')]//node()) return (if ($e/@conkeyref) then concat('%', substring-after($e/@conkeyref,'/'), '%') else if ($e/@keyref) then concat('%', $e/@keyref, '%') else if ($e/self::text()) then string(normalize-space($e)) else ''), ' '))"/>
- インデックスの作成が終了したら、CCMS Desktopを再起動します。