Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-03-14 05:48:58


Vladimir Prus <ghost_at_[hidden]> writes:

> Douglas Gregor wrote:
>
>> > Yep, that's looks reasonable. On the other hand, I'd prefer a slighlt
>> > different version.
>> >
>> > xstl foo.xml : bar.xml
>> > <stylesheet>something.xsl
>> > ;
>>
>> Fine by me.
>
> I don't like my own idea any longer ;-) What's going on is that one XML and
> one XSL files are combined to create XML file. That's directly reflectable by
> a generator and a rule.
>
> xml foo.xml : bar.xml something.xsl : {properties} ;
>
> I had some purpose for <stylesheet>, but I don't see any purpose now.

I just want to suggest that calling the rule 'xsl' might be a lot
more appropriate. IIUC, xsl can transform xml into any kind of text
document. I guess you could think of it as a rule which describes
the action rather than the target type.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk