xmlDocument createnode(xmlnodetype,string,string,string)帮助 [英] xmlDocument createnode(xmlnodetype, string, string, string) help
问题描述
我正在尝试使用xmlDocument.createnode(xmlnodetype,string,string,string)来创建一个带前缀的元素;但是,我一直收到这个错误: 错误的参数数量或无效的属性分配 I'mtrying to use xmlDocument.createnode(xmlnodetype, string, string, string) to create a element with a prefix; however, I keep getting this error:
Wrong number of arguments or invalid property assignment 这篇关于xmlDocument createnode(xmlnodetype,string,string,string)帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
我正在这样做在javascript中。如何创建带前缀的元素?
I'm doing this in javascript. How do I create an element with a prefix?var doc = new ActiveXObject('MSXML2.DOMDocument');
var myElm = doc.createNode(1,'soap','Envelope', 'http://schemas.xmlsoap.org/soap/envelope/');
var myOtherElm = doc.createNode(1, 'soap', 'Envelope', '');
推荐答案
Hi,