Print

Print


On Thu, 2012-12-27 at 19:17 +0000, Sebastian Rahtz wrote:
> On 27 Dec 2012, at 19:50, "stuart yeates" <[log in to unmask]> wrote:
> 
> > 
> > 
> > if  [ "${filename%.*}.html" -ot "$file" -o "${filename%.*}.html" -ot "../teitohtml" -o "${filename%.*}.html" -ot "../xml/first.xsl" -o "${filename%.*}.html" -ot "../xml/second.xsl" -o "${filename%.*}.html" -ot "../xml/third.xsl" -o "${filename%.*}.html" -ot "../xml/fourth.xsl" -o "${filename%.*}.html" -ot "../xml/fifth.xsl" ]
> > then
> You'd have to parse the xsl for include and import, of course......

A dependency analyzer would also have to check for calls to document()
and unparsed-text() (and maybe other calls I'm forgetting right now),
because the result of the transformation can be dependent on input from
these functions. 

Now just for kicks: make a path passed to these functions be selected
randomly from a set of possible values.

Best,
Louis