XPathVariableAttribute
using System;
using System.Xml.XPath;
using System.Xml.Xsl;
namespace Castle.Components.DictionaryAdapter.Xml
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = true)]
public abstract class XPathVariableAttribute : Attribute, IXsltContextVariable
{
public abstract XmlName Name { get; }
public abstract XPathResultType VariableType { get; }
bool IXsltContextVariable.IsLocal {
get {
return false;
}
}
bool IXsltContextVariable.IsParam {
get {
return false;
}
}
public abstract object Evaluate(XsltContext context);
}
}