Highlighted

how to use generic names in href filepath?

Contributor ,
Nov 07, 2019

Copy link to clipboard

Copied

I would like to use generic expressions in href file paths. For example in the following example: <mapref href="source_files_english.ditamap"/>, instead of "english", I would like to have something like <mapref href="source_files_"language".ditamap"/>. Then, i would like to define the word language as a key. So basically, what I have in mind is to use something like a keyref inside the href filepath. I tried: <mapref href="source_files_<keyword keyref="language"/>.ditamap"/>. Of course it did not work. Is there a way to achieve this in dita/xml?

TOPICS
Structured

Views

105

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

how to use generic names in href filepath?

Contributor ,
Nov 07, 2019

Copy link to clipboard

Copied

I would like to use generic expressions in href file paths. For example in the following example: <mapref href="source_files_english.ditamap"/>, instead of "english", I would like to have something like <mapref href="source_files_"language".ditamap"/>. Then, i would like to define the word language as a key. So basically, what I have in mind is to use something like a keyref inside the href filepath. I tried: <mapref href="source_files_<keyword keyref="language"/>.ditamap"/>. Of course it did not work. Is there a way to achieve this in dita/xml?

TOPICS
Structured

Views

106

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 07, 2019 0

Have something to add?

Join the conversation