Is this something you are trying to do with a style task (I assume so based on your previous posts)? Or are you doing something to the build file?
Please clarify what you are trying to do so we can better help you. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nant-users- > [EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] > Sent: Thursday, October 31, 2002 1:45 PM > To: [EMAIL PROTECTED] > Subject: [Nant-users] using document function in Nant > > Hi, > I want to use the document function as the following line. It works with > Ant, but does not with Nant. I tried relative and absolute paths with the > file name with no luck. Does anyone know how to make it work with Nant? > Thanks a lot. > <xsl:apply-templates select="document($file)//*[@name=$name]"/> (file and > name are two predefined variables) > > Regards, > > Qing Chang > > > > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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