View Categories

s.phrase

< 1 min read

Table of Contents

Syntax #

s.phrase

Purpose #

The s.phrase annotation is used to tag a span element as being separate from the main paragraph to be reused or otherwise formatted. This is used for controlling single sourcing and for indicating content for conditional use.

 

When cleaning up DITA output, Migrate may remove <ph> tags if it deems them to be unnecessary.

Example #

The following is an example of a time where you might want to use the s.phrase annotation:

The following is an example of a rule that will apply s.phrase:

The following is the DITA XML output for the previous rule:

<p>This sentence contains a quote: <q>this is the quote</q> (<cite><ph>Author, 2023</ph></cite>).</p>