[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: document() function using variable
Try document(concat('/folder/folder2/',$nm,'.xml'))/title Peter Hofman -----Original Message----- From: Vaduvoiu Tiberiu [mailto:vaduvoiutibi@xxxxxxxxx] Sent: maandag 14 mei 2007 11:37 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: document() function using variable 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 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|