Subject: RE: [xsl] document() function using variable From: "Hofman, Peter" <peter.hofman@xxxxxxxxxxxxx> Date: Mon, 14 May 2007 11:53:55 +0200 |
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: [xsl] 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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] document() function using, Michael Kay | Thread | [xsl] The collection() function, Jesper Tverskov |
Re: [xsl] document() function using, Abel Braaksma | Date | Re: [xsl] Return system's date and , Abel Braaksma |
Month |