The usage of base as an attribute over an element?
highos at linuxfromscratch.org
Wed Apr 10 02:48:02 PDT 2002
Here, take a look at this profile. It's fairly basic, just describes
the installation of wget.
You will problably notice two things about the syntax used here. The
first is i've used <stage /> here, so i could get a better idea of how
it would look for "real world purposes". And the second is the usage of
base as an attribute over an element.
Dunno.. in some ways it does make it alot harder to read, however that
really is more of a "personal preference" thing. Mixing the usage of
attributes and elements...dunno. We have kinda gone pretty extreme with
elements, compared to the "prototype" (aka version 1.0 you guys like to
call it) where we were totally attributes.
Thoughs? A mix can't be bad. Either way.. I keep thinking about
Neven's remark about XSLT, so I may fairly soon just totally drop this
hole nonesense about getting this "perfect" right from the bat =)
Jesse Tie-Ten-Quee ( highos at linuxfromscratch dot org )
-------------- next part --------------
<!DOCTYPE alfs [
<!ENTITY pkg.dir "/tmp/pkg">
<!ENTITY bld.dir "/tmp">
<!ENTITY wget.pkg "wget-&wget.ver;.tar.gz">
<!ENTITY wget.dir "wget-&wget.ver;">
<!ENTITY wget.ver "1.8.1">
<!ENTITY wget.pfx "/tmp/usr">
<make base="&bld.dir;/&wget.dir;" />
More information about the alfs-discuss