Is is possible to do something like,
x = function(n,v) paste("<rel name=\"",quote(n),"\" value=\"",quote(v),"\"/>",sep="")
so that x(y,1) produces,
"<rel name=\"y\" value=\"1\"/>"
of course this doesn't work and instead produces,
"<rel name=\"n\" value=\"v\"/>"
Also I have a nagging feeling that this kind of operation has a technical name, anybody know what it is?
Essentially, it would be nice if I didn't have do x("y","1").