conref for navtitle
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 23
- Joined: Thu Feb 28, 2019 2:19 pm
conref for navtitle
Hi!
Please, help.
How to use conref for navtitle? It's just a syntax, I hope...
doesn't work, of course. I need some proper.
Regards,
Dmitry
Please, help.
How to use conref for navtitle? It's just a syntax, I hope...
Code: Select all
<chapter navtitle="conref="r_00_routines_list.dita#r_00_routines_list/csaa100_desc_ru"">
Regards,
Dmitry
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: conref for navtitle
Hi Dmitry,
In general, you cannot use conrefs to reuse attribute values. The only way to do this is with entity references which is not the "DITA" way of doing things.
In this particular case, actually the @navtitle attribute is kind of deprecated, the DITA specification recommends using the <navtitle> element instead:
and because it's an element it can use the @conref attribute.
Regards,
Radu
In general, you cannot use conrefs to reuse attribute values. The only way to do this is with entity references which is not the "DITA" way of doing things.
In this particular case, actually the @navtitle attribute is kind of deprecated, the DITA specification recommends using the <navtitle> element instead:
Code: Select all
<chapter href="topics/installing.dita" locktitle="yes">
<topicmeta>
<navtitle>some content</navtitle>
</topicmeta>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 23
- Joined: Thu Feb 28, 2019 2:19 pm
Re: conref for navtitle
Thanks, Radu!
But what to do, if I need the "empty" heading, just to name the chapter?
But what to do, if I need the "empty" heading, just to name the chapter?
Code: Select all
<title>Regulated Rates </title>
<topicref href="atfa290_taxas_regulamentadas.dita"> </topicref>
<topicref href="atfa290_opcao_importar.dita"> </topicref>
<topicref href="atfa290_opcao_exportar.dita"> </topicref>
<topicref navtitle="Technical Data (or some dynamic heading from conref)">
<topicref href="atfa290_tabelas.dita"> </topicref>
</topicref>
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: conref for navtitle
Hi,
About the same as above:
Regards,
Radu
About the same as above:
Code: Select all
<topicref>
<topicmeta><navtitle>Technical Data (or some dynamic heading from conref)</navtitle></topicmeta>
<topicref href="atfa290_tabelas.dita"> </topicref>
</topicref>
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service