The move to custom XML

Matthias Benkmann matthias at
Fri May 23 15:57:16 PDT 2003

On Thu, 22 May 2003 15:40:25 -0600 Gerard Beekmans
<gerard at> wrote:

> What is $packagefilebase? Where it the value of that variable defined?

That would be an <xsl:param>. The good thing is that they can be passed in
from the outside, so if the directory where the package files are stored
changes, a simple change in the Makefile is enough.

> As I understand the above snipped:
> select "document($filename)" opens the $filename file. The filename
> itself is defined in BUILD{sed}. The concat statement takes that "sed"
> filename and puts .xml behind it.
> Can't this be shortened with select "document($filename.xml)" ?

No. XPath has a stricter grammar. You have to use concat to concatenate
strings. When they become just a little bit complex, XPath expressions get
ugly and longish.


There are only 10 types of people in this world:
Those who understand binary, and those who don't.

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list