示例#1
0
 public virtual void WriteVarName(VarName n)
 {
     WriteText(n.Name);
 }
示例#2
0
 private object ProcessVarName(VarName varName)
 {
     string ns = null;
     if (varName.Prefix != String.Empty)
     {
         ns = _context.NamespaceManager.LookupNamespace(varName.Prefix);
         if (ns == null)
             throw new XQueryException(Properties.Resources.XPST0081, varName.Prefix);
     }
     return ATOM.Create(ns, new string[] { "$", varName.LocalName }, false);
 }