s.property.value

Table of Contents

Syntax #

s.property.value

 

Purpose #

The s.property.value annotation is used to tag a span element as being the value of a property. It will associate this value with a preceding property type and/or a following property description.

 

The property value acts as the name or status of a specific property within its type.

Examples #

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

Note: the relevant span has been marked in bold for this example. The span is not bold in the source document.

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

 

The following is an example of the DITA output you would get from this annotation.

 

<property>

<proptype>Input  </proptype>

<propvalue>None  </propvalue>

<propdesc>This function does not take user input.</propdesc>

</property>

<property>

<proptype>Output  </proptype>

<propvalue>None  </propvalue>

<propdesc>This function does not produce output.</propdesc>

</property>

<property>

<proptype>Arguments  </proptype>

<propvalue>Two  </propvalue>

<propdesc>This function takes two arguments: item and range.</propdesc>

</property>