XsltContext.cs 883 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // System.Xml.Xsl.XsltContext
  2. //
  3. // Author: Tim Coleman <[email protected]>
  4. // (C) Copyright 2002 Tim Coleman
  5. using System;
  6. using System.Xml;
  7. using System.Xml.XPath;
  8. namespace System.Xml.Xsl
  9. {
  10. public abstract class XsltContext : XmlNamespaceManager
  11. {
  12. #region Constructors
  13. public XsltContext () {}
  14. public XsltContext (NameTable table)
  15. : base (table)
  16. {
  17. }
  18. #endregion
  19. #region Properties
  20. public abstract bool Whitespace { get; }
  21. public abstract bool PreserveWhitespace (XPathNavigator nav);
  22. #endregion
  23. #region Methods
  24. public abstract int CompareDocument (string baseUri, string nextbaseUri);
  25. public abstract IXsltContextFunction ResolveFunction (string prefix, string name, XPathResultType [] ArgTypes);
  26. public abstract IXsltContextVariable ResolveVariable (string prefix, string name);
  27. #endregion
  28. }
  29. }