User Tools

Site Tools


xml2rfc_examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
xml2rfc_examples [2020/10/28 14:29]
arusso
xml2rfc_examples [2020/10/28 14:47]
arusso
Line 1: Line 1:
 ===== xml2rfc examples ===== ===== xml2rfc examples =====
  
-Considering "Is there a better way to do this?"+When considering "Is there a better way to do this?"
  
 ==== Summary ==== ==== Summary ====
Line 85: Line 85:
 ==== 3) use <contact> inside <t> when providing more information than fullname ==== ==== 3) use <contact> inside <t> when providing more information than fullname ====
  
-The functionality exists when <contact> is outside <t>  (e.g., a contributor listed in the style of an address block), but when the <contact> is in <t> in a list, it's not possible. So we end up putting data about the individual outside the <contact> element.+It's possible to include more info when <contact> is outside <t> (e.g., a contributor listed in the style of an address block), but when the <contact> is in <t>, it's not possible. So we end up putting the data about the individual outside the <contact> element. 
  
 a) name + org\\ a) name + org\\
-''<t><contact fullname="Fabio Maino"/>, Cisco Systems, Inc.</t>''\\ +XML: ''<t><contact fullname="Fabio Maino"/>, Cisco Systems, Inc.</t>''\\ 
-(file: draft-ietf-lisp-gpe-19.xml - in the queue)+(file: draft-ietf-lisp-gpe-19.xml - in the queue)\\ 
 +Original (in a list): ''    Fabio Maino, Cisco Systems, Inc.''
  
 b) name + email\\ b) name + email\\
-''<t><contact fullname="Ari Keränen"/> &lt;ari.keranen@ericsson.com&gt;</t>''\\ +XML: ''<t><contact fullname="Ari Keränen"/> &lt;ari.keranen@ericsson.com&gt;</t>''\\ 
-(file: rfc8790.notprepped.xml)+(file: rfc8790.notprepped.xml)\\ 
 +Original (in a registration template): ''Author:  Ari Keranen ari.keranen@ericsson.com''
  
 c) name + email + org\\ c) name + email + org\\
-''<t><contact fullname="Jiantao Fu"/> &lt;jianfu@cisco.com&gt; of Cisco Systems''\\ +XML: ''<t><contact fullname="Jiantao Fu"/> &lt;jianfu@cisco.com&gt; of Cisco Systems''\\ 
-(file: rfc8698.notprepped.xml)+(file: rfc8698.notprepped.xml)\\ 
 +Original (in a paragraph in "Contributors"): ''<nowiki> Jiantao Fu <jianfu@cisco.com> of Cisco Systems</nowiki>''
  
 +Thinking aloud: ability to put the data in the contact element and have a decent rendering when in <t> (Currently, if we put additional data in the contact element when it's in <t>, the additional data doesn't appear in the output at all.)
  
 ==== 4) get a <dl> with a blank line between <dt> and <dd> ==== ==== 4) get a <dl> with a blank line between <dt> and <dd> ====
xml2rfc_examples.txt · Last modified: 2020/10/28 15:14 by arusso