17 if (
s1.Length >=
s2.Length)
19 return string.CompareOrdinal(
s1, 0,
s2, 0,
s2.Length) == 0;
38 return s1.Substring(0, num);
52 return s1.Substring(num +
s2.Length);
82 if (num > (
double)
value.Length)
97 for (i = 0; i <
value.Length; i++)
138 if (num == 0 &&
num2 != i)
166 for (
int i = 0; i <
arg.Length; i++)
183 string xmlLang = context.
XmlLang;
188 if (xmlLang.Length !=
value.Length)
190 return xmlLang[
value.Length] ==
'-';
198 if (
value - num != 0.5)
207 if (name.Namespace ==
"http://www.w3.org/1999/XSL/Transform")
219 else if (name.Namespace ==
"urn:schemas-microsoft-com:xslt" && name.Name ==
"version")
250 if (
value.Count != 1)
263 object typedValue =
xPathItem.TypedValue;
264 if (typedValue
is string)
268 if (typedValue
is double)
272 if (typedValue
is bool)
281 if (
value.Count == 0)
342 for (
int i = 0; i <
options.Length; i++)
367 if (flag && num == 0)
384 dt = result.ToZulu();
390 char[]
array =
"----------T00:00:00.000".ToCharArray();
428 if (num != name.Length)
443 if (num != name.Length)
459 return "http://www.w3.org/XML/1998/namespace";
466 if (lang.Length == 0)
497 text[0] = (char)(
value / 1000 % 10 + 48);
507 text[20] = (char)(
value / 100 % 10 + 48);
static CultureInfo CurrentCulture
static CultureInfo InvariantCulture
static decimal Round(decimal d)
static string Xslt_InvalidCompareOption
static string Xslt_InvalidLanguage
static ? XmlSchemaSimpleType GetBuiltInSimpleType(XmlQualifiedName qualifiedName)
static int ParseQName(string s, int offset, out int colonOffset)
virtual ? string LookupNamespace(string prefix)
static bool IsWhiteSpace(char ch)
static Exception TryToDouble(string s, out double result)
static XmlWriter Create(string outputFileName)
static readonly Type StringType
static readonly Type DoubleType
static string Translate(string arg, string mapString, string transString)
static bool Lang(string value, XPathNavigator context)
static readonly CompareInfo s_compareInfo
static XPathItem SystemProperty(XmlQualifiedName name)
static string EXslObjectType(IList< XPathItem > value)
static void PrintTime(char[] text, DateTime dt)
static string NormalizeSpace(string value)
static string Substring(string value, double startIndex, double length)
static string SubstringBefore(string s1, string s2)
static string OuterXml(XPathNavigator navigator)
static string MSNamespaceUri(string name, XPathNavigator currentNode)
static string MSLocalName(string name)
static string BaseUri(XPathNavigator navigator)
static double Round(double value)
static string MSUtc(string dateTime)
static void ShortToCharArray(char[] text, int start, int value)
static void PrintYear(char[] text, int value)
static CultureInfo GetCultureInfo(string lang)
static string MSFormatDateTime(string dateTime, string format, string lang, bool isDate)
static bool Contains(string s1, string s2)
static string SubstringAfter(string s1, string s2)
static bool StartsWith(string s1, string s2)
static void PrintMsec(char[] text, int value)
static double MSNumber(IList< XPathItem > value)
static double MSStringCompare(string s1, string s2, string lang, string options)
static void PrintDate(char[] text, DateTime dt)
static string Substring(string value, double startIndex)
static bool TryParse(string text, XsdDateTimeFlags kinds, out XsdDateTime result)