[rfc-i] xml2rfc v3: publish the relax ng schema of draft-hoffman-xml2rfc-15

Miek Gieben miek at miek.nl
Mon Jan 19 13:42:37 PST 2015


[ Quoting <cabo at tzi.org> in "Re: [rfc-i] xml2rfc v3: publish the..." ]
>On 2015-01-19 17:59, Paul Kyzivat wrote:
>> Extracting from the xml based on the artwork type= attribute is pretty
>> straightforward, and it should work with both v2 and v3 shouldn't it?
>
>Yes.
>
>ruby -r rexml/document -r open-uri -e "puts
>REXML::XPath.first(REXML::Document.new(open(%q{http://tools.ietf.org/id/draft-iab-xml2rfcv2-00.xml})),
>%{//artwork[@type='application/relax-ng-compact-syntax']}).text"
>
>(Code-Golfing not included today.)
>
>BTW, the RNC schema seems to work for me.

Ah, *duh*, this is the v2 one, not the v3 


More information about the rfc-interest mailing list