Using replace attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Using replace attribute
I cannot figure out why I cannot find anything in an indexterm. I am trying to find the word cutter in an indexterm. For value I enter cutter. I then populate ontags with indextern, and do not find anything? Am I missing something.
Bryon
Solved! Go to Solution.
- Labels:
-
Content Authoring
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Bryon--
It depends on your doctype, but for both Docbook and DITA, <indexterm> takes the index terms as element content, not as an attribute value. In the Docbook sample document, if you use the standard Find/Replace dialog, and set "Find What" to "Arbortext" and "Find Within" to "indexterm", it will find the various indexterm entries containing "Arbortext".
If you are using a custom doctype where index terms are specified as attribute values, maybe you could post a sample of your indexterm markup.
(Of course, in your post you typed "indextern" as your tag name, but I assume that was just a typo when creating the question, and you typed it correctly in the search dialog.)
--Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Bryon--
It depends on your doctype, but for both Docbook and DITA, <indexterm> takes the index terms as element content, not as an attribute value. In the Docbook sample document, if you use the standard Find/Replace dialog, and set "Find What" to "Arbortext" and "Find Within" to "indexterm", it will find the various indexterm entries containing "Arbortext".
If you are using a custom doctype where index terms are specified as attribute values, maybe you could post a sample of your indexterm markup.
(Of course, in your post you typed "indextern" as your tag name, but I assume that was just a typo when creating the question, and you typed it correctly in the search dialog.)
--Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks Clay I was using the replace attribute, not find/replace. You are correct it was a typo.
Thanks
Bryon
