From: Pierrick B. <pie...@cu...> - 2005-11-03 07:57:22
|
Hi, OC wrote: > Hi Pierrick You're on a mailing-list... > I tried what you suggested. but this doesnt work. the gist of this=20 > problem is - > =20 > i am trying to pass a variable to Xupdate:append select .... as the=20 > filename/nodename where it should go and append data. > =20 > <xupdate:append select=3D"doc('$test9')/xml"> > =20 > But it seems that XUpdate does not expand the variable at runtime so I=20 > end up with blank files. This type of construct *must* use curly braces : <xupdate:append select=3D"{doc('$test9')}/xml"> Read the XQuery specs ! [huge snip] Cheers, --=20 Pierrick Brihaye, informaticien Service r=E9gional de l'Inventaire / DRAC Bretagne mailto:pie...@cu... / t=E9l : +33 (0)2 99 29 67 78 http://usenet-fr.news.eu.org/fr-chartes/rfc1855.html. L'avez-vous lu ? |