SRD development

IETF Internet-Draft for the SRD (txt) 
Example of html output
Tar of example files

SRD dtd (txt)
SRD xslt (txt)
Example SRD xml file (txt)

Reference Fragment for SRDexample.1.xml (txt)
Reference Fragment for RFC9876.xml (txt)

Functional IETF "posting" SRD example.
X0-leslie-posting.0.xml (txt)
X0-leslie-posting.0

Functional IETF "sctp" SRD example.
X0-otis-sctp.0.xml (txt)
X0-otis-sctp.0

Functional IETF "mixer" SRD example (includes non-existent srd references)
X0-alvestrand-mixer.0.xml (txt)
X0-alvestrand-mixer.0

To create an html version of an xml srd file, a translation program is used.
For example:

 $ xsltproc id-rfc-set-02.xslt srd-example-02.xml >srd-example.1.html


Within the id-rfc-set-02.xslt file is the following:

  <!-- path for xml references -->
  <xsl:param name="xml-refs-rfc"
    select="'references/rfc/reference.RFC.'"/>
  <xsl:param name="xml-refs-i-d"
    select="'references/i-d/reference.I-D.'"/>
  <xsl:param name="xml-refs-srd"
    select="'references/srd/reference.SRD.'"/>

This is a directory relative path to where the '.xml' reference fragments are located.
The example '.xslt' is expecting these references are located within:

references/rfc
        and
references/srd

 <xsl:param name="url-prefix-srd"
    select="'http://www.ietf.org/srd/srd-'"/>

This link will not resolve, but was included to illustrate the link construction. 
Links for the I-Ds are created from the target attribute within the format element
found within the associated '.xml' reference fragment.  The file names use the
same convention as those used by Marshall Rose's rfc2xml utility.  As the example
RFC documents are fake, links for these documents will not resolve either.  Once a
real SRD is generated for real RFCs, the links should then be valid.


Reference related information can be found at:
xml.resource.org Citation Libraries



newtrk List Archive
newtrk Subscribe

Updated 2005-10-21, Douglas Otis