Compartir a través de


XsltProcessor Clase

Definición

Proporciona los métodos necesarios para el procesador Xslt.

public ref class XsltProcessor sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Data.Xml.Xsl.IXsltProcessorFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XsltProcessor final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Data.Xml.Xsl.IXsltProcessorFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class XsltProcessor final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Data.Xml.Xsl.IXsltProcessorFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class XsltProcessor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Data.Xml.Xsl.IXsltProcessorFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class XsltProcessor
function XsltProcessor(document)
Public NotInheritable Class XsltProcessor
Herencia
Object Platform::Object IInspectable XsltProcessor
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 (se introdujo en la versión 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v1.0)

Constructores

XsltProcessor(XmlDocument)

Crea un nuevo objeto XsltProcessor a partir del documento proporcionado.

Métodos

TransformToDocument(IXmlNode)

Procesa un nodo y sus elementos secundarios y devuelve el xmlDocument resultante.

TransformToString(IXmlNode)

Procesa un nodo y sus elementos secundarios y devuelve la transformación de cadena resultante.

Se aplica a

Consulte también