Skip to main content
frameexpert
Community Expert
Community Expert
Sep 13, 2023 8:29 PM UTC
Answered

DITA xref use literal text

Hi, I want to create some DITA topics with <xref> elements in them. I want some of them to be empty so I can specify a cross-reference format to use. On some of them, I want to use literal text like this:

 

<xref href="xyz">Literal text</xref>

 

This would correspond to the Text field in the Cross-Reference dialog box:

How do I code this in my dita topic so that FrameMaker does this when I open the topic? Thank you.

This topic is closed to new replies. Start a new post to keep the conversation going.
frameexpert
frameexpertCorrect answer
Community Expert
Sep 15, 2023 1:33 PM UTC

It appears that if I include a text node in my <xref> element, then FrameMaker honors it as literal text.

www.frameexpert.com

1 reply

frameexpert
Community Expert
frameexpertCommunity ExpertAuthorCorrect answer
Community Expert
Sep 15, 2023 1:33 PM UTC

It appears that if I include a text node in my <xref> element, then FrameMaker honors it as literal text.

Translate
www.frameexpert.com