Taylor expansion w/r/t fn's




Hi all.

I need to do a Taylor expansion of a fn w/r/t a derivative, that is:

depends(x,t);
f: <some expression with diff(x,t)>  ;
taylor(f,diff(x,t),0,1);

I guess I could do something like

subst(foo,diff(x,t));
taylor(%,foo,0,1);
subst(diff(x,t),foo,%);

but is there perhaps a cleaner way to do this?

thanks!

Judah