| 发表于:2007-02-27 10:01:03 楼主 |
xmldoc.appendchild xmldoc.createprocessinginstruction( "xml ", "version= '1.0 ' encoding= 'utf-8 ' ") set rootelement = xmldoc.createelement( "transaction ") xmldoc.appendchild (rootelement) set toelement_header = xmldoc.createelement( "transaction_header ") rootelement.appendchild (toelement_header) set toelement = xmldoc.createelement( "id ") toelement_header.appendchild (toelement) set toelementtext = xmldoc.createtextnode( "001 ") toelement.appendchild (toelementtext) 请问我想写 <id type=g> 001 </id> 怎么写啊? |
|
|
|
|