Skip to main content
frameexpert
Community Expert
Community Expert
September 13, 2023
Answered

DITA xref use literal text

  • September 13, 2023
  • 1 reply
  • 137 views

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 has been closed for replies.
Correct answer frameexpert

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

1 reply

frameexpert
Community Expert
frameexpertCommunity ExpertAuthorCorrect answer
Community Expert
September 15, 2023

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