[rfc-i] draft-iab-rfcv3-preptool-02, "5.4.8.2 “derivedContent” Insertion (Without Content)"

Julian Reschke julian.reschke at gmx.de
Sun Jul 3 04:07:50 PDT 2016


<https://greenbytes.de/tech/webdav/draft-iab-rfcv3-preptool-02.html#rfc.section.5.4.8.2>:

"For each <xref> element that does not have content, fill the 
“derivedContent” based on the “format” attribute. * For 
format=’counter’, the “derivedContent” is the section, figure, table, or 
ordered list number of the element with anchor equal to the xref target. 
* For format=’default’ and the “target” attribute points to a 
<reference> or <referencegroup> element, the “derivedContent” is the 
value of the “target” attribute (or the “to” attribute of a 
<displayreference> element for the targeted <reference>). * For 
format=’default’ and the “target” attribute points to a <section>, 
<figure>, or <table>, the “derivedContent” is the name of the thing 
pointed to, such as “Section 2.3”, “Figure 12”, or “Table 4”. * For 
format=’title’, if the target is a <reference> element, the 
“derivedContent” attribute is the name of the reference, extracted from 
the <title> child of the <front> child of the reference. * For 
format=’title’, if the target element has a <name> child element, the 
“derivedContent” attribute is the text content of that <name> element 
concatenated with the text content of each descendant node of <name> 
(that is, stripping out all of the XML markup, leaving only the text). * 
For format=’title’, if the target element does not contain a <name> 
child element, the “derivedContent” attribute is the value of the 
“target” attribute with no other adornment. Issue a warning if the 
“derivedContent” attribute already exists and has a different value from 
what was being filled in."

Format messed up. This should be a list, right?

Best regards, Julian


More information about the rfc-interest mailing list