Extensions
01 Syntax
Microsoft.VisualBasic.Text.Xml.Extensions
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| FormatHTML | 1 | 使用这个函数将html文档进行格式化,请注意,目标html文档应该是符合xml语法的 |
| RemoveXmlComments | 1 | 这个函数可以将Xml/Html文本之中的注释数据进行删除 |
| CodePage | 1 | Xml encoding to text encoding |
| TextEncoding | 1 | Xml encoding to text encoding |
| GetXmlAttrValue | 1 | get xml attribute value via regexp matches |
| SetXmlEncoding | 1 | |
| SetXmlStandalone | 1 |
03 Members
FormatHTML(
String)使用这个函数将html文档进行格式化,请注意,目标html文档应该是符合xml语法的
Parameters
| Name | Type | Description |
|---|---|---|
html$ | String | - |
RemoveXmlComments(
String)这个函数可以将Xml/Html文本之中的注释数据进行删除
Parameters
| Name | Type | Description |
|---|---|---|
xhtml | String | - |
CodePage(
XmlEncodings)Xml encoding to text encoding
Parameters
| Name | Type | Description |
|---|---|---|
xmlEncoding | XmlEncodings | - |
TextEncoding(
XmlEncodings)Xml encoding to text encoding
Parameters
| Name | Type | Description |
|---|---|---|
xmlEncoding | XmlEncodings | - |
GetXmlAttrValue(
String, String)get xml attribute value via regexp matches
Parameters
| Name | Type | Description |
|---|---|---|
str | String | - |
Name | String | - |
SetXmlEncoding(
String, XmlEncodings)SetXmlStandalone(
String, Boolean)