Example #1
0
 protected HtmlXsltFunction(HtmlXsltContext context, string prefix, string name, XPathResultType[] argTypes)
 {
     Context  = context;
     Prefix   = prefix;
     Name     = name;
     ArgTypes = argTypes;
 }
Example #2
0
        public static IXsltContextFunction GetBuiltIn(HtmlXsltContext context, string prefix, string name, XPathResultType[] argTypes)
        {
            if (name == "regex-is-match")
            {
                return(new RegexIsMatch(context, name));
            }

            // TODO: create other functions here
            return(null);
        }
Example #3
0
 public RegexIsMatch(HtmlXsltContext context, string name)
     : base(context, null, name, null)
 {
 }