XsltOptions Class
The limits of the XSLT transformations of a browsing context (see BrowsingContextOptions.Xslt): the transformations of XsltProcessor and of the XML documents whose xml-stylesheet processing instruction references an XSLT stylesheet. They stop the stylesheets that do not end, or that build too large a result.
public sealed class XsltOptions : IEquatable<XsltOptions>Remarks
A transformation that exceeds a limit fails: XsltProcessor throws a DomException whose name is OperationError, and the navigation to an XML document shows the XML document. A transformation run by a script also stops when the script engine interrupts the script (e.g. its timeout): the script is terminated.
- Implements
Constructors
| Name | Description |
|---|---|
| XsltOptions() |
XsltOptions()
XsltOptions.cspublic XsltOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Default | Gets the default limits. |
| MaxOutputNodes | Gets or sets the maximum number of nodes a transformation creates, in its result and in the result tree fragments of its variables. The default is 2,000,000. |
| MaxSteps | Gets or sets the maximum number of steps of a transformation: the instructions it instantiates, the expressions it evaluates, the patterns it matches and the nodes it copies. The default is 100,000,000. |
| Timeout | Gets or sets the maximum duration of a transformation, or null for no limit. The default is 10 seconds. The duration is checked between the steps of the transformation. |
Default
XsltOptions.csMaxOutputNodes
XsltOptions.csMaxSteps
XsltOptions.csTimeout
XsltOptions.csMethods
| Name | Description |
|---|---|
| Equals(XsltOptions?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(XsltOptions?)
public bool Equals(XsltOptions? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(XsltOptions?, XsltOptions?) | |
| operator !=(XsltOptions?, XsltOptions?) |
operator ==(XsltOptions?, XsltOptions?)
public static bool operator ==(XsltOptions? left, XsltOptions? right)No documentation is available.
operator !=(XsltOptions?, XsltOptions?)
public static bool operator !=(XsltOptions? left, XsltOptions? right)No documentation is available.