reschke / xml2rfc

A formatter for the "xml2rfc" vocabulary, implemented in XSLT.
12 stars 5 forks source link

rfc2629toXHTML.xslt missing #11

Closed hildjj closed 8 years ago

hildjj commented 8 years ago

Section 9.2 calls out rfc2629toXHTML.xslt for converting to XHTML. I think the following is currently correct:

xsltproc rfc2629.xslt rfc2629xslt.xml -o rfc2629xslt.html
xsltproc --html HTMLtoXHTML.xslt rfc2629xslt.html -o rfc2629xslt.xhtml
prince rfc2629xslt.xhtml
hildjj commented 8 years ago

or skip the second step, and use prince -i html *.html

reschke commented 8 years ago

HTMLtoXHTML.xslt actually converts XSLTs, so it's used to transform rfc2629.xslt -> rfc2629toXHTML.xslt (which is not under source control as it's auto-generated).

I'll update the Prince-related section so it uses HTML directly.

reschke commented 8 years ago

https://github.com/reschke/xml2rfc/commit/bb5cd4771bc3d9d2b1f2332e8a68f090b95e7263