Sorry - I wrote that the wrong way around. Nant properties are/ have been macro expansions, meaning that they are simple text substitutions that occur before any semantic processing of the build file occurs - similar to macros in C. Xslt's variables are true variables and have an associated type. The other difference with xslt is that expressions ( xpaths ) are only allowable in certain attributes. You can't just substitute a variable for any attribute in the script the way you can with properties in nant.
Ian


xslt variables differ from nant properties in a number of ways. They
have always been more macro substitutions than true variables.



I don't really see much difference here ... We sometimes even refer to (or certainly used to) properties as macros ...







-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to