我有一个是给我的错误这个XQuery的元素: let $mx := 7
for $b in doc("abc.xml")//test
where $b/@attr = $mx
return
<mytag myattr="$mx">
{$b/data(@name)}
</mytag>
我想回到$ MX的值作为myattr属性。任何指针?
这是一个使用Microsoft的XPathNavigator的示例。 using System;
using System.Xml;
using System.Xml.XPath;
// http://support.microsoft.com/kb/308343
namespace q308343 {
class Class1 {
static void Main