ietf
[Top] [All Lists]

Re: In support of symbolic references

2007-04-05 21:34:46

Going back to the original problem, it might be more useful to use an xml diff 
program than a text diff program since that's where the changes will be made 
(and visible). The anchors and targets will stay stable.

 Maybe we can have this added to the tool set?




At 23:45 4/5/2007, Bill Fenner wrote:
On 4/5/07, John C Klensin <john-ietf(_at_)jck(_dot_)com> wrote:
... xml2rfc ends up with
symbolic references that look like
[I-D.rfc-editor-rfc2223bis] (one of the less unattractive ones)
or, potentially,
[I-D.draft-narten-iana-considerations-rfc2434-bis].  Those
things cause formatting problems, violate almost every known
style manual about forms for symbolic references, and so on.  If
our tools permitted us to use the forms that are recommended in
the rest of the world, such as "[Nart07a]" for the above, it
would be different.  But they don't permit doing so conveniently.

I wrote an xsl transform that does this.

xml2rfc mydoc.xml mydoc-tmp.xml
xsltproc strip-id-references.xsl mydoc-tmp.xml > mydoc-tmp2.xml
xml2rfc mydoc-tmp2.xml mydoc.txt

http://rtg.ietf.org/~fenner/ietf/xml2rfc-xsl/strip-id-references.xsl

(Not to say that this is "convenient", but it's at least possible)

Bill

_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www1.ietf.org/mailman/listinfo/ietf



_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www1.ietf.org/mailman/listinfo/ietf

<Prev in Thread] Current Thread [Next in Thread>