[PATCH xorg-docs 2/2] Replace XMLTO with XSLTPROC, XMLLINT and W3M tools

Matt Dew marcoz at osource.org
Tue Mar 22 16:28:52 PDT 2011


On 03/22/2011 03:25 PM, Dan Nicholson wrote:
> On Tue, Mar 22, 2011 at 7:19 AM, Gaetan Nadon<memsize at videotron.ca>  wrote:
>> Xmlto is a script that selects the appropriate back-end
>> based on options and tools availability.
>>
>> Xmlto uses an xsl "fragment" which is not compatible with
>> the standard use of xsl stylesheets. The customization for
>> xhtml and fo cannot be used with xsltproc in that context.
>> It makes adoption of docbook features like olink and profiling
>> significantly more difficult.
>
> If you pass -x to xmlto instead of -m, you can use a full stylesheet
> instead of a fragment. Moving to xsltproc means you have to duplicate
> the internal smarts of xmlto.
>

Unfortunately, with the '-x' xmlto will look for that stylesheet on the 
local machine,  so there's no way to use the http://... stylesheets. 
and we want to use those for portability.  The local catalogs detect if 
there are local copies and uses them if they exist.


> --
> Dan
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel



More information about the xorg-devel mailing list