Boost logo

Boost-Build :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2003-03-14 09:31:04


On Friday 14 March 2003 03:24 am, Vladimir Prus wrote:
> 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.

It appears that the list of source files a generator accepts is a disjunction,
so if I say that the xslt generator accepts "XML XSLT" then it accepts either
an XML files or XSLT files, but not that it requires the two to be paired. If
we use a (free, "link"-incompatible) <stylesheet> feature, then the generator
accepts only XML files.

Was that the purpose?

Doug

 


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