首页 > comp > gb.xml > xmlwriter > startelement 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
XmlWriter.StartElement (gb.xml)
SUB StartElement ( Name AS String [ , Attributes AS String[], Prefix AS String, URI AS String ] )

Starts a XML node, called TagName. If that node contains some attributes, you can place it in Attributes as a String array, each attribute must be a pair of strings, the first string is the attribute name, and the second one is the attribute value. Prefix is the namespace prefix, and URI the namespace URI of that node.

Example

Dim MyXML As XmlWriter
...
MyXML.StartElement( "mynode",["one","two","three","four"])
...

XML File:
...
<mynode one="two" three="four">