XsltContext.cs 935 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. // should this really be calling new NameTable() in the
  14. // base() call?
  15. public XsltContext ()
  16. : base (new NameTable ())
  17. {
  18. }
  19. public XsltContext (NameTable table)
  20. : base (table)
  21. {
  22. }
  23. #endregion
  24. #region Properties
  25. public abstract bool Whitespace { get; }
  26. #endregion
  27. #region Methods
  28. public abstract int CompareDocument (string baseUri, string nextbaseUri);
  29. public abstract IXsltContextFunction ResolveFunction (string prefix, string name, XPathResultType [] ArgTypes);
  30. public abstract IXsltContextVariable ResolveVariable (string prefix, string name);
  31. #endregion
  32. }
  33. }