System::Xml::Xsl::XslTransform 类

XslTransform class

使用可扩展样式表语言转换 (XSLT) 样式表转换 XML 数据。

class XslTransform : public System::Object

方法

方法描述
Load(const SharedPtr<XmlReader>&)加载包含在 XmlReader 中的 XSLT 样式表。
Load(const SharedPtr<XmlReader>&, const SharedPtr<System::Xml::XmlResolver>&)加载包含在 XmlReader 中的 XSLT 样式表。
Load(const SharedPtr<System::Xml::XPath::IXPathNavigable>&)加载包含在 IXPathNavigable 中的 XSLT 样式表。
Load(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<System::Xml::XmlResolver>&)加载包含在 IXPathNavigable 中的 XSLT 样式表。
Load(const SharedPtr<System::Xml::XPath::XPathNavigator>&)加载包含在 XPathNavigator 中的 XSLT 样式表。
Load(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<System::Xml::XmlResolver>&)加载包含在 XPathNavigator 中的 XSLT 样式表。
Load(const String&)加载由 URL 指定的 XSLT 样式表。
Load(const String&, const SharedPtr<System::Xml::XmlResolver>&)加载由 URL 指定的 XSLT 样式表。
set_XmlResolver(const SharedPtr<System::Xml::XmlResolver>&)设置在调用 XslTransform::Transform 方法时用于解析外部资源的 XmlResolver
Transform(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<System::Xml::XmlResolver>&)使用指定的 args 转换 XPathNavigator 中的 XML 数据,并将结果输出到 XmlReader
Transform(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<XsltArgumentList>&)使用指定的 args 转换 XPathNavigator 中的 XML 数据,并将结果输出到 XmlReader
Transform(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&, const SharedPtr<System::Xml::XmlResolver>&)使用指定的 args 转换 XPathNavigator 中的 XML 数据,并将结果输出到 XmlWriter
Transform(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&)使用指定的 args 转换 XPathNavigator 中的 XML 数据,并将结果输出到 XmlWriter
Transform(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&, const SharedPtr<System::Xml::XmlResolver>&)使用指定的 args 转换 XPathNavigator 中的 XML 数据,并将结果输出到流。
Transform(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&)使用指定的 args 转换 XPathNavigator 中的 XML 数据,并将结果输出到流。
Transform(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&, const SharedPtr<System::Xml::XmlResolver>&)使用指定的 args 转换 XPathNavigator 中的 XML 数据,并将结果输出到 TextWriter。
Transform(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&)使用指定的 args 转换 XPathNavigator 中的 XML 数据,并将结果输出到 TextWriter。
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<System::Xml::XmlResolver>&)使用指定的 args 转换 IXPathNavigable 中的 XML 数据,并将结果输出到 XmlReader
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&)使用指定的 args 转换 IXPathNavigable 中的 XML 数据,并将结果输出到 XmlReader
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&, const SharedPtr<System::Xml::XmlResolver>&)使用指定的 args 转换 IXPathNavigable 中的 XML 数据,并将结果输出到 TextWriter。
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&)使用指定的 args 转换 IXPathNavigable 中的 XML 数据,并将结果输出到 TextWriter。
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&, const SharedPtr<System::Xml::XmlResolver>&)使用指定的 args 转换 IXPathNavigable 中的 XML 数据,并将结果输出到流。
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&)使用指定的 args 转换 IXPathNavigable 中的 XML 数据,并将结果输出到流。
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&, const SharedPtr<System::Xml::XmlResolver>&)使用指定的 args 转换 IXPathNavigable 中的 XML 数据,并将结果输出到 XmlWriter
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&)使用指定的 args 转换 IXPathNavigable 中的 XML 数据,并将结果输出到 XmlWriter
Transform(const String&, const String&, const SharedPtr<System::Xml::XmlResolver>&)转换输入文件中的 XML 数据,并将结果输出到输出文件。
Transform(const String&, const String&)转换输入文件中的 XML 数据,并将结果输出到输出文件。
XslTransform()初始化一个新的 XslTransform 类实例。

Typedefs

类型定义描述
Ptr此类实例的共享指针别名。

备注

此类的对象只能使用 System::MakeObject() 函数分配。切勿在栈上或使用 new 运算符创建此类型的实例,因为这会导致运行时错误和/或断言故障。始终将此类包装到 System::SmartPtr 指针中,并使用该指针将其作为参数传递给函数。

另见