[xsl] document() function using variable

Subject: [xsl] document() function using variable
From: Vaduvoiu Tiberiu <vaduvoiutibi@xxxxxxxxx>
Date: Mon, 14 May 2007 02:37:00 -0700 (PDT)
Simple question to the point:

document('/folder/folder2/file.xml')/title work

but if I have a parameter "nm" with the value of "file" or a variable with the name of "nm" with the value of "file" then 

document('/folder/folder2/$nm.xml')/title doesn't work. Why doesn't it work?? I tried googling "document() using parameter" and other ways but I didn't find anything usefull. Anyone can help me out?? 10x


       
____________________________________________________________________________________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

Current Thread