54 references to XslVersion
System.Private.Xml (54)
System\Xml\Xsl\Xslt\QilGenerator.cs (9)
76private XslVersion _xslVersion; 1009if (_xslVersion != XslVersion.ForwardsCompatible) 2314if (_xslVersion != XslVersion.ForwardsCompatible) 2335if (_xslVersion != XslVersion.ForwardsCompatible) 2359if (_xslVersion != XslVersion.ForwardsCompatible) 2387if (_xslVersion != XslVersion.ForwardsCompatible) 2413if (_xslVersion != XslVersion.ForwardsCompatible) 2442if (_xslVersion != XslVersion.ForwardsCompatible) 2472if (_xslVersion != XslVersion.ForwardsCompatible)
System\Xml\Xsl\Xslt\XslAst.cs (40)
82public readonly XslVersion XslVersion; 86public XslNode(XslNodeType nodeType, QilName? name, object? arg, XslVersion xslVer) 97this.XslVersion = XslVersion.Current; 101public bool ForwardsCompatible { get { return XslVersion == XslVersion.ForwardsCompatible; } } 141public ProtoTemplate(XslNodeType nt, QilName? name, XslVersion xslVer) : base(nt, name, null, xslVer) { } 156public AttributeSet(QilName name, XslVersion xslVer) : base(XslNodeType.AttributeSet, name, xslVer) { } 180public Template(QilName? name, string? match, QilName mode, double priority, XslVersion xslVer) 226public VarPar(XslNodeType nt, QilName name, string? select, XslVersion xslVer) : base(nt, name, select, xslVer) { } 236public Sort(string select, string? lang, string? dataType, string? order, string? caseOrder, XslVersion xslVer) 261public Key(QilName name, string? match, string? use, XslVersion xslVer) 315XslVersion xslVer) : base(XslNodeType.Number, null, null, xslVer) 334public NodeCtor(XslNodeType nt, string nameAvt, string? nsAvt, XslVersion xslVer) 346public Text(string data, SerializationHints hints, XslVersion xslVer) 358public XslNodeEx(XslNodeType t, QilName? name, object? arg, ContextInfo ctxInfo, XslVersion xslVer) 365public XslNodeEx(XslNodeType t, QilName? name, object? arg, XslVersion xslVer) : base(t, name, arg, xslVer) 372public static XslNode XslNode(XslNodeType nodeType, QilName? name, string? arg, XslVersion xslVer) 377public static XslNode ApplyImports(QilName mode, Stylesheet? sheet, XslVersion xslVer) 382public static XslNodeEx ApplyTemplates(QilName mode, string select, ContextInfo ctxInfo, XslVersion xslVer) 390return new XslNodeEx(XslNodeType.ApplyTemplates, mode, /*select:*/null, XslVersion.Current); 393public static NodeCtor Attribute(string nameAvt, string? nsAvt, XslVersion xslVer) 400return new AttributeSet(name, XslVersion.Current); 405return new XslNodeEx(XslNodeType.CallTemplate, name, null, ctxInfo, XslVersion.Current); 423public static XslNode CopyOf(string? select, XslVersion xslVer) 428public static NodeCtor Element(string nameAvt, string? nsAvt, XslVersion xslVer) 435return new XslNode(XslNodeType.Error, null, message, XslVersion.Current); 438public static XslNodeEx ForEach(string? select, ContextInfo ctxInfo, XslVersion xslVer) 443public static XslNode If(string? test, XslVersion xslVer) 448public static Key Key(QilName name, string? match, string? use, XslVersion xslVer) 458public static XslNode LiteralAttribute(QilName name, string value, XslVersion xslVer) 465return new XslNode(XslNodeType.LiteralElement, name, null, XslVersion.Current); 470return new XslNode(XslNodeType.Message, null, term, XslVersion.Current); 480XslVersion xslVer) 490public static XslNode PI(string name, XslVersion xslVer) 495public static Sort Sort(string select, string? lang, string? dataType, string? order, string? caseOrder, XslVersion xslVer) 500public static Template Template(QilName? name, string? match, QilName mode, double priority, XslVersion xslVer) 507return new Text(data, SerializationHints.None, XslVersion.Current); 512return new Text(data, hints, XslVersion.Current); 517return new XslNode(XslNodeType.UseAttributeSet, name, null, XslVersion.Current); 520public static VarPar VarPar(XslNodeType nt, QilName name, string? select, XslVersion xslVer) 527return VarPar(XslNodeType.WithParam, name, /*select*/null, XslVersion.Current);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (2)
1455var withparam = AstFactory.VarPar(XslNodeType.WithParam, paramname, $"${paramname.QualifiedName}", XslVersion.Current); 1461var param = AstFactory.VarPar(XslNodeType.Param, paramname, null, XslVersion.Current);
System\Xml\Xsl\Xslt\XsltInput.cs (3)
642public XslVersion XslVersion 644get { return _scopeManager.ForwardCompatibility ? XslVersion.ForwardsCompatible : XslVersion.Current; }