Le 29/05/2014 20:15, Chris Staub a écrit :
> On 05/29/14 06:17, Pierre Labastie wrote:
>> Le 29/05/2014 02:12, William Harrington a écrit :
>>> Greetings,
>>>
>>> http://www.cross-lfs.org/~chris/new_vars_page.patch
>>>
>>> We have updated our book some more regarding setting our variables.
>>>
>>> Please take a look and adjust any comments if see fit.
>>>
>>> Chris stated it works well for current versions and previous versions of the
>>> book before the above changes.
>>>
>>> Sincerely,
>>>
>>> William Harrington
>>
>> Hi,
>>
>> Just saw your message.
>>
>> Not sure yet, but there may be something wrong with this patch: it seems that
>> you have added two new variables to the clfs.xsl stylesheet (x86 and mips),
>> but I do not see them declared. If so, xsltproc should throw an error when
>> trying to use them... Since you say that it works, I guess I am wrong, but I
>> have to understand why...
> 
> Those variables are declared by the --stringparam options passed to xsltproc
> in common/libs/func_book_parser.

Right, that seems to work.

I tried to dig into the W3C XSLT recommendation, and found nothing convincing
about the fact that any XSLT processor should allow that.

I'll add param declarations at the beginning of the stylesheet.

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to