From: Oleg T. <he...@us...> - 2005-11-22 11:11:38
|
Update of /cvsroot/mvp-xml/EXSLT/v2/src/Exslt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4773/v2/src/Exslt Modified Files: ExsltTransform.cs Log Message: Index: ExsltTransform.cs =================================================================== RCS file: /cvsroot/mvp-xml/EXSLT/v2/src/Exslt/ExsltTransform.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ExsltTransform.cs 30 Oct 2005 13:50:54 -0000 1.3 +++ ExsltTransform.cs 22 Nov 2005 11:11:18 -0000 1.4 @@ -76,6 +76,7 @@ /// * http://gotdotnet.com/exslt/strings /// * http://gotdotnet.com/exslt/dynamic /// </remarks> + [Obsolete("This class has been deprecated. Please use Mvp.Xml.Common.Xsl.MvpXslTransform instead.")] public class ExsltTransform { @@ -237,20 +238,43 @@ #endregion #region Load() method Overloads - /// <summary> Loads the XSLT stylesheet contained in the IXPathNavigable</summary> - public void Load(IXPathNavigable ixn) { this.xslTransform.Load(ixn); } + /// <summary> + /// Loads and compiles the style sheet contained in the <see cref="IXPathNavigable"/> object. + /// See also <see cref="XslCompiledTransform(IXPathNavigable)"/>. + /// </summary> + /// <param name="stylesheet">An object implementing the <see cref="IXPathNavigable"/> interface. + /// In the Microsoft .NET Framework, this can be either an <see cref="XmlNode"/> (typically an <see cref="XmlDocument"/>), + /// or an <see cref="XPathDocument"/> containing the style sheet.</param> + public void Load(IXPathNavigable stylesheet) { this.xslTransform.Load(stylesheet); } - /// <summary> Loads the XSLT stylesheet specified by a URL</summary> - public void Load(string s) { this.xslTransform.Load(s); } + /// <summary> + /// Loads and compiles the style sheet located at the specified URI. + /// See also <see cref="XslCompiledTransform(String)"/>. + /// </summary> + /// <param name="stylesheetUri">The URI of the style sheet.</param> + public void Load(string stylesheetUri) { this.xslTransform.Load(stylesheetUri); } - /// <summary> Loads the XSLT stylesheet contained in the XmlReader</summary> - public void Load(XmlReader reader) { this.xslTransform.Load(reader); } + /// <summary> + /// Compiles the style sheet contained in the <see cref="XmlReader"/>. + /// See also <see cref="XslCompiledTransform(XmlReader)"/>. + /// </summary> + /// <param name="stylesheet">An <see cref="XmlReader"/> containing the style sheet.</param> + public void Load(XmlReader stylesheet) { this.xslTransform.Load(stylesheet); } /// <summary> - /// Compiles the XSLT style sheet contained in the IXPathNavigable. - /// The XmlResolver resolves any XSLT import or include elements and the + /// Compiles the XSLT style sheet contained in the <see cref="IXPathNavigable"/>. + /// The <see cref="XmlResolver"/> resolves any XSLT <c>import</c> or <c>include</c> elements and the /// XSLT settings determine the permissions for the style sheet. - /// </summary> + /// See also <see cref="XslCompiledTransform(IXPathNavigable, XsltSettings, XmlResolver)"/>. + /// </summary> + /// <param name="stylesheet">An object implementing the <see cref="IXPathNavigable"/> interface. + /// In the Microsoft .NET Framework, this can be either an <see cref="XmlNode"/> (typically an <see cref="XmlDocument"/>), + /// or an <see cref="XPathDocument"/> containing the style sheet.</param> + /// <param name="settings">The <see cref="XsltSettings"/> to apply to the style sheet. + /// If this is a null reference (Nothing in Visual Basic), the <see cref="XsltSettings.Default"> setting is applied.</param> + /// <param name="stylesheetResolver">The <see cref="XmlResolver"/> used to resolve any + /// style sheets referenced in XSLT <c>import</c> and <c>include</c> elements. If this is a + /// null reference (Nothing in Visual Basic), external resources are not resolved.</param> public void Load(IXPathNavigable stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) { this.xslTransform.Load(stylesheet, settings, stylesheetResolver); @@ -258,19 +282,33 @@ /// <summary> /// Loads and compiles the XSLT style sheet specified by the URI. - /// The XmlResolver resolves any XSLT import or include elements and the + /// The <see cref="XmlResolver"/> resolves any XSLT <c>import</c> or <c>include</c> elements and the /// XSLT settings determine the permissions for the style sheet. - /// </summary> + /// See also <see cref="XslCompiledTransform(string, XsltSettings, XmlResolver)"/>. + /// </summary> + /// <param name="stylesheetUri">The URI of the style sheet.</param> + /// <param name="settings">The <see cref="XsltSettings"/> to apply to the style sheet. + /// If this is a null reference (Nothing in Visual Basic), the <see cref="XsltSettings.Default"> setting is applied.</param> + /// <param name="stylesheetResolver">The <see cref="XmlResolver"/> used to resolve any + /// style sheets referenced in XSLT <c>import</c> and <c>include</c> elements. If this is a + /// null reference (Nothing in Visual Basic), external resources are not resolved.</param> public void Load(string stylesheetUri, XsltSettings settings, XmlResolver stylesheetResolver) { this.xslTransform.Load(stylesheetUri, settings, stylesheetResolver); } /// <summary> - /// Compiles the XSLT style sheet contained in the XmlReader. - /// The XmlResolver resolves any XSLT import or include elements and the + /// Compiles the XSLT style sheet contained in the <see cref="XmlReader"/>. + /// The <see cref="XmlResolver"/> resolves any XSLT <c>import</c> or <c>include</c> elements and the /// XSLT settings determine the permissions for the style sheet. - /// </summary> + /// See also <see cref="XslCompiledTransform(XmlReader, XsltSettings, XmlResolver)"/>. + /// </summary> + /// <param name="stylesheet">The <see cref="XmlReader"/> containing the style sheet.</param> + /// <param name="settings">The <see cref="XsltSettings"/> to apply to the style sheet. + /// If this is a null reference (Nothing in Visual Basic), the <see cref="XsltSettings.Default"> setting is applied.</param> + /// <param name="stylesheetResolver">The <see cref="XmlResolver"/> used to resolve any + /// style sheets referenced in XSLT <c>import</c> and <c>include</c> elements. If this is a + /// null reference (Nothing in Visual Basic), external resources are not resolved.</param> public void Load(XmlReader stylesheet, XsltSettings settings, XmlResolver stylesheetResolver) { this.xslTransform.Load(stylesheet, settings, stylesheetResolver); |