Setting up a URL as a variable in a map
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 45
- Joined: Mon Aug 17, 2020 7:16 pm
Setting up a URL as a variable in a map
Hi there
We have a series of maps that reuse a large amount of shared content.
One of the topics contains conrefs to some shared content, one of which has a paragraph with an xref to our website. What we would like to do is is set up a variable in each map with a unique xref to a different page in each map.
For example map A should have an xref to www.xyz.com/first_page and map B would have an xref to www.xyz.com/second_page, and so on.
I know that it is not possible to add an xref to a keydef, but I wondered if there is another way to do this.
The paragraph in question reads: "This is available on each product webpage, accessible from the products webpage." - products webpage contains the xref.
If you have any questions, please let me know.
Many thanks
Kind regards
Matt
We have a series of maps that reuse a large amount of shared content.
One of the topics contains conrefs to some shared content, one of which has a paragraph with an xref to our website. What we would like to do is is set up a variable in each map with a unique xref to a different page in each map.
For example map A should have an xref to www.xyz.com/first_page and map B would have an xref to www.xyz.com/second_page, and so on.
I know that it is not possible to add an xref to a keydef, but I wondered if there is another way to do this.
The paragraph in question reads: "This is available on each product webpage, accessible from the products webpage." - products webpage contains the xref.
If you have any questions, please let me know.
Many thanks
Kind regards
Matt
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Setting up a URL as a variable in a map
Hi Matt,
I would probably prefer to do this with an <xref keyref> as you mentioned.
You could also do this with profiling conditions like:
and apply various profiling attributes depending on the published DITA Map.
Or with conref and again profiling filters..
Regards,
Radu
I would probably prefer to do this with an <xref keyref> as you mentioned.
You could also do this with profiling conditions like:
Code: Select all
<p> check this link out <xref href="a.html" scope="external" product="map1"/><xref href="b.html" scope="external" product="map2"/></p>
Or with conref and again profiling filters..
Regards,
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