Yeah, that feature is just not supported by the style task. It would require supplying all the NAnt properties as XSL transformation parameters or something like that. The other option would be to do something like a filter on the input XSL and do substitution.
I'll look into the Ant style task to see what it does. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:QChang@;thoughtworks.COM] > > Just to clarify, I am using the style task in the build. The style > attribute of the style task is the xsl file which includes the document > function. > For example, I have the following line in my build. > <style style="contents.xsl" basedir="${src.dir}\xml" in="contents.xml" > destdir="${build.dir}" /> > and the next line is in contents.xsl. > <xsl:apply-templates select="document($file)//*[@name=$name]"/> > Thanks a lot. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users