Hi Balazs, As I understand it, the <CODE BEGIN> <CODE END> blocks are not appropriate for examples.
Examples are easily extracted from XML via `xmllint` with the “—xpath” parameter, after which the `rfcfold` script can be run. Strongly recommend setting the “name” attribute on the <sourcecode> or <artwork> element in the XML draft. It’s good to see that you want to do it this way, as I noticed you hand-folded the examples and I’m pretty sure I spotted what looked like might result in an undesirable unfolding artifact... FWIW, https://pypi.org/project/xiax attempts to do all this, but I suspended that effort getting distracted with other things... Kent // contributor > On Mar 20, 2020, at 1:02 PM, Balázs Lengyel > <[email protected]> wrote: > > Hello, > Is it allowed/recommended to use <CODE BEGINS> <CODE ENDS> around examples. > In my case it would be examples of XML and JSON instance data. I would find > it rather useful. > > As a second step if someone could combine rfcstrip with artwork-unfolding > that would be even better. > Regards Balazs > > -- > Balazs Lengyel Senior Specialist > Ericsson Hungary Ltd. > Mobile: +36-70-330-7909 email: [email protected] > <mailto:[email protected]> > > _______________________________________________ > netmod mailing list > [email protected] <mailto:[email protected]> > https://www.ietf.org/mailman/listinfo/netmod > <https://www.ietf.org/mailman/listinfo/netmod>
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
