Tom,
PXSL is very very well done. Quite aside from the fact that XSLT is finally somewhat readable, the fact that you've added a serious macro system means
that some serious scripting of XML can occur. I'm very impressed. So far
I've been able to do everything I try to do -- except one thing.
To wit: I would like to have a macro such that:
,command c a1 a2 a3
produces
<a href="c?a1=,a1&a2=,a2&a3=a3">,BODY</a>
In other words I would like to have macro parameters appear in an attribute
However I can't find a way to do it. The '-attribute=' syntax binds too
tightly, and there's nothing I can pass to -href= that doesn't instantly
get treated as a single string. The closest I've gotten is:
,command c a1 a2 a3 =
a -href=<( ,command <<?a1=>> a1 <<&a2=>> a2 <<&a3=>> a3 )>
which for ',command -a1=s1 -a2=s2 -a3=s3' at least produces '<a href="command">'
But that's it. Can't get past the first string.
I imagine the current implementation cannot do what I'm trying to do.
But do you see the utility of it?
Thanks for any help. And thanks muchly for a very nice tool.