XsltSettings.Default Propriedade

Definição

Obtém um objeto XsltSettings com configurações padrão. O suporte à função document() de XSLT e a blocos de script inseridos está desabilitado.

public:
 static property System::Xml::Xsl::XsltSettings ^ Default { System::Xml::Xsl::XsltSettings ^ get(); };
public static System.Xml.Xsl.XsltSettings Default { get; }
member this.Default : System.Xml.Xsl.XsltSettings
Public Shared ReadOnly Property Default As XsltSettings

Valor da propriedade

XsltSettings

Um XsltSettings objeto com as propriedades e EnableScript definidas EnableDocumentFunction como false.

Exemplos

O exemplo a seguir carrega uma folha de estilos com configurações de XSLT padrão.

// Create the XslCompiledTransform object and load the style sheet.
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load("sort.xsl", XsltSettings.Default, new XmlUrlResolver());
' Create the XslCompiledTransform object and load the style sheet.
Dim xslt As New XslCompiledTransform()
xslt.Load("sort.xsl", XsltSettings.Default, New XmlUrlResolver())

Aplica-se a

Confira também