Re: xml2rfc is OK ( was: Re: XML2RFC must die, was: Re: Two different threads - IETF Document Format)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I also had to copy rfc2629-other.ent, rfc2629-xhtml.ent and rfc2629.dtd
into the current directory to get it to work. And Firefox seems to be
pickier than IE about the XML it will accept.

Otherwise pretty cool.

	Tony Hansen
	tony@xxxxxxx

Julian Reschke wrote:
> Julian Reschke wrote:
>> Again: it's much easier to test using any recent web browser, and
>> using rfc2629.xslt. Just press F5 (refresh) in the browser window, and
>> there you go.
>>
>> BR, Julian
>> ...
> 
> OK, I have been told off-list that this needs more explanation...
> 
> rfc2629.xslt implements the xml2rfc vocabulary in XSLT, which all major
> browsers nowadays implement.
> 
> Thus, you can simply open the XML in the browser, and let the browser
> convert to HTML.
> 
> To do so:
> 
> 1) Add the XML Stylesheet Processing Instruction to the top of the
> source file, such as in:
> 
>   <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
> 
> (after the XML declaration, when present)
> 
> 2) Copy rfc2629.xslt to the folder where the xml2rfc source file resides
> (get it from <http://greenbytes.de/tech/webdav/rfc2629xslt.zip>).
> 
> 3) Open the XML file in IE/Firefox/Safari/Opera.
> 
> More info: <http://greenbytes.de/tech/webdav/rfc2629xslt/rfc2629xslt.html>
> 
> NOTE: rfc2629.xslt does not support xml2rfc's "include" processing
> instruction, thus external references will only work using the XML
> entity inclusion mechanism (see <http://xml.resource.org/>, "Including
> Files").
> 
> BR, Julian

_______________________________________________

Ietf@xxxxxxxx
https://www.ietf.org/mailman/listinfo/ietf

[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]