<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Xml on Miek Gieben</title>
    <link>https://miek.nl/tags/xml/</link>
    <description>Recent content in Xml on Miek Gieben</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>© Copyright 2007-2024 Miek Gieben</copyright>
    <lastBuildDate>Wed, 13 Nov 2019 07:17:36 +0000</lastBuildDate>
    <atom:link href="https://miek.nl/tags/xml/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to install xml2rfc on Debian</title>
      <link>https://miek.nl/2019/november/13/how-to-install-xml2rfc-on-debian/</link>
      <pubDate>Wed, 13 Nov 2019 07:17:36 +0000</pubDate>
      <guid>https://miek.nl/2019/november/13/how-to-install-xml2rfc-on-debian/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://trac.tools.ietf.org/tools/xml2rfc/trac/&#34;&gt;Xml2rfc&lt;/a&gt; is &lt;em&gt;the&lt;/em&gt; tool the IETF uses to convert&#xA;the canonical XML for an Internet-Draft into text, HTML or a PDF. This utility has seen many&#xA;releases while the XML schema was being finalized. It&amp;rsquo;s important (if you write I-Ds) that you have&#xA;the latest version of xml2rfc installed.&lt;/p&gt;&#xA;&lt;p&gt;Installing it as a Debian package is done with:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;go to &lt;a href=&#34;https://pypi.org/project/xml2rfc/#files&#34;&gt;https://pypi.org/project/xml2rfc/#files&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;download the tar archive (say &amp;ldquo;xml2rfc-2.35.0.tar.gz&amp;rdquo;)&lt;/li&gt;&#xA;&lt;li&gt;execute: &lt;code&gt;py2dsc-deb xml2rfc-2.35.0.tar.gz&lt;/code&gt; (&amp;ldquo;py2dsc-deb&amp;rdquo; can be found in the &amp;ldquo;python-stdeb&amp;rdquo; package)&lt;/li&gt;&#xA;&lt;li&gt;execute: &lt;code&gt;sudo dpkg -i deb_dist/python-xml2rfc_2.35.0-1_all.deb&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Note a &lt;code&gt;py2dsc&lt;/code&gt; also exists, but that doesn&amp;rsquo;t create a Debian package.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Markdown for XML2RFC v3 - Update</title>
      <link>https://miek.nl/2014/december/18/markdown-for-xml2rfc-v3-update/</link>
      <pubDate>Thu, 18 Dec 2014 22:46:00 +0000</pubDate>
      <guid>https://miek.nl/2014/december/18/markdown-for-xml2rfc-v3-update/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;And another update (2015-01-12)&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This is a follow up the &lt;a href=&#34;http://miek.nl/posts/2014/Nov/27/markdown-for-xml2rfc-v3/&#34;&gt;previous article&lt;/a&gt;&#xA;about using markdown for XML2RFC. The syntax has been changed and more features&#xA;have been implement. And my&#xA;&lt;a href=&#34;https://github.com/miekg/blackfriday&#34;&gt;blackfriday&lt;/a&gt; fork has been renamed&#xA;&lt;a href=&#34;https://github.com/miekg/mmark&#34;&gt;mmark&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;See &lt;a href=&#34;https://github.com/miekg/mmark/blob/master/mmark2rfc.txt&#34;&gt;this document&lt;/a&gt; for&#xA;an up to date syntax of mmark. A short summery will be given here.&lt;/p&gt;&#xA;&lt;p&gt;New features are:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Include raw XML references&lt;/li&gt;&#xA;&lt;li&gt;Allow HTML comments to be converted to &lt;code&gt;cref&lt;/code&gt;s&lt;/li&gt;&#xA;&lt;li&gt;Abbreviations (&lt;a href=&#34;https://michelf.ca/projects/php-markdown/extra/#abbr&#34;&gt;https://michelf.ca/projects/php-markdown/extra/#abbr&lt;/a&gt;), this is not used&#xA;in XML2RFC but seems a relatively standard markdown extension&lt;/li&gt;&#xA;&lt;li&gt;Example lists (&lt;a href=&#34;http://johnmacfarlane.net/pandoc/README.html#numbered-example-lists&#34;&gt;http://johnmacfarlane.net/pandoc/README.html#numbered-example-lists&lt;/a&gt;)&lt;/li&gt;&#xA;&lt;li&gt;Quote attribution&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Also the possibility to convert &lt;a href=&#34;https://tools.ietf.org/html/rfc7328.html&#34;&gt;pandoc2rfc&lt;/a&gt; documents&#xA;to mmark has been added (as a quick and dirty perl script + pandoc!):&lt;/p&gt;</description>
    </item>
    <item>
      <title>Markdown for XML2RFC v3</title>
      <link>https://miek.nl/2014/november/27/markdown-for-xml2rfc-v3/</link>
      <pubDate>Thu, 27 Nov 2014 22:50:00 +0000</pubDate>
      <guid>https://miek.nl/2014/november/27/markdown-for-xml2rfc-v3/</guid>
      <description>&lt;p&gt;Or&amp;hellip; how to write Markdown to generate XML that is valid XML2RFC v3. These&#xA;are some assorted notes and ideas&lt;/p&gt;&#xA;&lt;p&gt;Goal:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Self contained file with all information to generate a complete I-D;&lt;/li&gt;&#xA;&lt;li&gt;CommonMarkdown, with some extension.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;I&amp;rsquo;m working on implementing these ideas in &lt;a href=&#34;https://github.com/miekg/blackfriday&#34;&gt;blackfriday&lt;/a&gt;.&#xA;The following has already been implemented:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Abstract;&lt;/li&gt;&#xA;&lt;li&gt;Citation;&lt;/li&gt;&#xA;&lt;li&gt;Document divisions;&lt;/li&gt;&#xA;&lt;li&gt;Index;&lt;/li&gt;&#xA;&lt;li&gt;File inclusion;&lt;/li&gt;&#xA;&lt;li&gt;Extra attributes (kramdown&amp;rsquo;s IAL.) (work-in-progress).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;document-meta-data&#34;&gt;Document meta data&lt;/h2&gt;&#xA;&lt;p&gt;In TOML - much easier than YAML for instance, lines are starting with %. We don&amp;rsquo;t need to specify the citations&#xA;here because:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
